Le 14/08/2016 à 13:58, Peter Uhnak a écrit :
Hi,
I fairly often switch themes (sometimes daily), and the fact that windows don't properly switch is quite annoying as I have to close literally everything and start over.
Is there a way to force-reload the colors without closing the windows?
For Nautilus I could probably script something like this
(NautilusUI allInstances select: [ :each | each window owner = World ]) do: [ :each | |new| new := each fullBrowse. new ui window position: each window position. each close. ].
both for the rest (GTInspector in particular) I cannot just close them because I have live data there.
Thanks, Peter
Hi Peter, When we change of theme we *should* have a good update. This is the work of the #themeChanged method. Every theme depending morph should implement it, but there is still some improvements to do. At the beginning of Pharo 6 a lot of improvement was made but there is still some small problems. I think it is not possible to force the update of the colors without #themeChanged, so the only solution is to open issues when you see something not right when you switch of theme. :( -- Cyril Ferlicot http://www.synectique.eu 165 Avenue Bretagne Lille 59000 France