Ups, wrong threadâ¦
On 16 Nov 2015, at 11:47, Marcus Denker <marcus.denker@inria.fr> wrote:
I can not reproduce it with a recent vmâ¦
On 16 Nov 2015, at 11:44, Eliot Miranda <eliot.miranda@gmail.com> wrote:
Hi Andrei,
you should be able to use whatever the equivalent of the PointerFinder is these days to find out. Once you have your instances from all instances you can find the path from the roots that is keeping them alive via PoinerFinder openOn: anInstance IIRC.
_,,,^..^,,,_ (phone)
On Nov 16, 2015, at 6:22 AM, Andrei Chis <chisvasileandrei@gmail.com> wrote:
Hi,
In the latest Pharo image there is a rogue instance of GLMSystemWindow. If I do in the console the following code I get one instance:
/pharo Pharo.image eval "GLMSystemWindow allInstances" an Array(a GLMSystemWindow(58720256))
There are actually two windows, but one is RubFindReplaceDialogWindow and it should have no link with the glamour window.
./pharo Pharo.image eval "SystemWindow allSubInstances" an OrderedCollection(a RubFindReplaceDialogWindow(534511616) a GLMSystemWindow(58720256))
If I create another window that contains a morph that can take the focus then the glamour window disappears and the new window stays:
./pharo Pharo.image eval "(PluggableTextMorph on: ' ' text: nil accept: nil) openInWindow close. Smalltalk garbageCollect. SystemWindow allSubInstances" an OrderedCollection(a SystemWindow(234094592) an EditorFindReplaceDialogWindow(130547712))
Any idea if the find-replace service from rubric/textmorph holds one somehow to the last opened window or if there is another global cache that does it?
Cheers, Andrei