[squeak-dev] SystemProgressMorph applyUserInterfaceTheme

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Mon Jan 6 14:46:17 UTC 2020


Hi Marcel,


#reset abandons the progress morph.


> Feel free to write a better ui-update method.

Well ... have a look at Morphic-ct.1615 :-)
I could not identify any glitches with it so far.

Best,
Christoph

________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Taeumel, Marcel
Gesendet: Montag, 6. Januar 2020 15:43:29
An: JOHN SARKELA via Squeak-dev
Betreff: Re: [squeak-dev] SystemProgressMorph applyUserInterfaceTheme

Hi Christoph.

> What are the considerations to hide all progress if the UI theme is changed?

I suppose "self reset" is just the simplest way to update all UI stuff according to the new theme. Feel free to write a better ui-update method.

Best,
Marcel

Am 13.12.2019 22:50:08 schrieb Thiede, Christoph <christoph.thiede at student.hpi.uni-potsdam.de>:

Hi all, hi Marcel :-)


What is the purpose of the class-side #applyUserInterfaceTheme implementation in SystemProgressMorph?


SystemProgressMorph class >> applyUserInterfaceTheme
self reset.


Given the following snippet:


Project current uiManager informUser: 'Foo' during: [
Preferences changeFontSize: 0.
self halt]


Currently, the SystemProgressMorph has abandoned when a debugger appears. If I remove the class-side method from above, everything works as expected.

What are the considerations to hide all progress if the UI theme is changed?


Best,

Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200106/4fbfdcaa/attachment-0001.html>


More information about the Squeak-dev mailing list