The Inbox: Morphic-ct.1531.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: Morphic-ct.1531.mcz

commits-2
A new version of Morphic was added to project The Inbox:
http://source.squeak.org/inbox/Morphic-ct.1531.mcz

==================== Summary ====================

Name: Morphic-ct.1531
Author: ct
Time: 20 September 2019, 8:46:54.327726 pm
UUID: 9ba3d907-10d4-524a-9e97-cd66a530f0ef
Ancestors: Morphic-mt.1526

Fix a bug in MorphicProject>>#applyUserInterfaceTheme

While working with many Projects during the latest weeks, I often noticed DNUs when changing the UI theme. Apparently UserInterfaceTheme>>#apply asks ALL objects in memory to apply the theme, so if a project was recently closed and not yet gc'ed, I got an error.

=============== Diff against Morphic-mt.1526 ===============

Item was changed:
  ----- Method: MorphicProject>>canApplyUserInterfaceTheme (in category 'updating') -----
  canApplyUserInterfaceTheme
 
+ ^ world notNil!
- ^ true!


Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Morphic-ct.1531.mcz

Christoph Thiede

Or would you solve the problem somewhere else? Might this be a general problem to all released morphs?


Von: Squeak-dev <[hidden email]> im Auftrag von [hidden email] <[hidden email]>
Gesendet: Freitag, 20. September 2019 20:47:09
An: [hidden email]
Betreff: [squeak-dev] The Inbox: Morphic-ct.1531.mcz
 
A new version of Morphic was added to project The Inbox:
http://source.squeak.org/inbox/Morphic-ct.1531.mcz

==================== Summary ====================

Name: Morphic-ct.1531
Author: ct
Time: 20 September 2019, 8:46:54.327726 pm
UUID: 9ba3d907-10d4-524a-9e97-cd66a530f0ef
Ancestors: Morphic-mt.1526

Fix a bug in MorphicProject>>#applyUserInterfaceTheme

While working with many Projects during the latest weeks, I often noticed DNUs when changing the UI theme. Apparently UserInterfaceTheme>>#apply asks ALL objects in memory to apply the theme, so if a project was recently closed and not yet gc'ed, I got an error.

=============== Diff against Morphic-mt.1526 ===============

Item was changed:
  ----- Method: MorphicProject>>canApplyUserInterfaceTheme (in category 'updating') -----
  canApplyUserInterfaceTheme
 
+        ^ world notNil!
-        ^ true!




Carpe Squeak!