[squeak-dev] How should one implement a custom window color for a custom window?

Marcel Taeumel marcel.taeumel at hpi.de
Mon Sep 18 09:29:12 UTC 2017


Thank you for this bug report. :)

The current clean-up strategy is to dismiss existing instances of UserInterfaceTheme. In your example, the current theme was not touched and is still active. That is, your environment as an active theme that is not in the list "UserInterfaceTheme allThemes". The release building process usually picks a new theme after the clean-up, which your example did not.

Anyway, I will fix the test to also consider the currently active theme. ;-)

Best,
Marcel
Am 18.09.2017 11:23:18 schrieb Stéphane Rollandin <lecteur at zogotounga.net>:
> UserInterfaceTheme cleanUp: true.
>
> or
>
> Smalltalk cleanUp: true.


Hmm I did:

100 timesRepeat: [Morph new userInterfaceTheme yourself].
UserInterfaceTheme cleanUp: true.
Smalltalk cleanUp: true.
UserInterfaceTheme current explore

... the scope stack was still populated.


Stef

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20170918/c546c954/attachment.html>


More information about the Squeak-dev mailing list