[7.5] Changing looks causes windows to collapse randomly

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

[7.5] Changing looks causes windows to collapse randomly

Stew MacLean

During the process of changing look preferences collapse events are being triggered by the OS.

(Please refer to the stack trace below, taken during the course of changing look preferences).

 

This causes the window's iconic variable to be set to true.

 

Subsequently when the Window is reinstalled (finishOpening) and mapped during the look change it gets mapped as an icon, thus collapsing the window.

 

See

ApplicationWindow(Window)>>map

                       

primMap

            If an unmapped, collapsed window is mapped, it will be mapped as an icon

            (if icons are supported by the platform window manager)."

 

Does anyone have any suggestions as to how to prevent this random behaviour?

 

Cheers,

 

Stewart

 

 

 

2007-07-18 17:48:38.500 | setting iconic to true

2007-07-18 17:48:38.571 | >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

------------------------------------------------------------

Context Stack:

[1]        ApplicationWindow(Object)>>dumpStack:

[2]        ApplicationWindow(Window)>>setIconic:

[3]        EventSensor>>eventCollapse:

[4]        InputState>>send:eventCollapse:

[5]        InputState>>process:

[6]        InputState>>run

[7]        optimized [] in InputState class>>install

[8]        BlockClosure>>on:do:

[9]        optimized [] in Process class>>forBlock:priority:

------------------------------------------------------------

Initial Context Stack Arguments:

[1] ApplicationWindow(Object)>>dumpStack:

            Receiver: (id=12757) an ApplicationWindow 101

            Arg1: (id=10427) 'setting iconic to true'

[2] ApplicationWindow(Window)>>setIconic:

            Receiver: (id=12757) an ApplicationWindow 101

            Arg1: (id=3) true

[3] EventSensor>>eventCollapse:

            Receiver: (id=9941) an EventSensor

            Arg1: (id=9857) #(11 101 36 4238928 16311512 0 0 0 431154171 an UninterpretedBytes 0 nil nil ...

[4] InputState>>send:eventCollapse:

            Receiver: (id=2835) an InputState

            Arg1: (id=12757) an ApplicationWindow 101

            Arg2: (id=9857) #(11 101 36 4238928 16311512 0 0 0 431154171 an UninterpretedBytes 0 nil nil ...

[5] InputState>>process:

            Receiver: (id=2835) an InputState

            Arg1: (id=9857) #(11 101 36 4238928 16311512 0 0 0 431154171 an UninterpretedBytes 0 nil nil ...

[6] InputState>>run

            Receiver: (id=2835) an InputState

[8] BlockClosure>>on:do:

            Receiver: (id=12322) BlockClosure [] in InputState class>>install

            Arg1: (id=3873) TerminateException

            Arg2: (id=14659) BlockClosure [] in [] in Process class>>forBlock:priority:

2007-07-18 17:48:38.574 | <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

 

2007-07-18 17:48:38.584 | setting iconic to false

2007-07-18 17:48:38.633 | >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

------------------------------------------------------------

Context Stack:

[1]        ApplicationWindow(Object)>>dumpStack:

[2]        ApplicationWindow(Window)>>setIconic:

[3]        ApplicationWindow(Window)>>updateDimensions

[4]        ApplicationWindow(ScheduledWindow)>>finishOpening

[5]        ApplicationWindow>>finishOpening

[6]        optimized [] in [] in [] in WindowManager>>open

[7]        BlockClosure>>on:do:

[8]        optimized [] in [] in WindowManager>>open

[9]        OrderedCollection>>reverseDo:

[10]       optimized [] in WindowManager>>open

[11]       BlockClosure>>ensure:

[12]       WindowManager>>open

[13]       WindowManager>>install

[14]       optimized [] in Screen>>updateWidgetPolicy

[15]       WindowManager(Object)>>ifNotNil:

[16]       optimized [] in WindowManager class>>managerRegistryDo:

[17]       OrderedCollection>>do:

[18]       WindowManager class>>managerRegistryDo:

[19]       Screen>>updateWidgetPolicy

[20]       optimized [] in Win95LookPolicy class>>installLookPreferences

[21]       OrderedCollection>>do:

[22]       WinXPLookPolicy class(Win95LookPolicy class)>>installLookPreferences

[23]       WinXPLookPolicy class>>installLookPreferences