GNOME Bugzilla – Bug 118865
gok controls window reverting to main if mouse moves off window
Last modified: 2004-12-22 21:47:04 UTC
Using gnome-2.4 nightly build from July 28. .logged in as a a normal user -launch gok -click on GOK to bring up gok controls -move mouse away from window .gok reverts to gok-main window. Consequently for example if you click on quit gok, the next window(confirm quit) is smaller and means the mouse cursor will not be hovering on it - which reverts to gok-main as described. You have to make sure to click the quit gok button high enough up so that the mouse cursor will be within the following window's boundaries to avoid reverting back to main as above. .this only happens if gok itself has last has focus, e.g youve been navigating gok's preferences.
Moving away the mouse from the gok window should not automatically revert the window to 'GOK - main'.
I am experiencing the same problem (appeared with Aug 1 build from CVS, which replaced July 20 build). On my system however, this behavior is apparent with all non-GOK-main windows, not just GOK controls. This has basically rendered GOK unusable for me.
I have confirmed this as well. I notice the bad behaviour seems less persistant if an at-spi accessible application like gedit is loaded... I would look into it further except I am working on my broken build environment... Can anyone confirm the behaviour is different when accessible applications are loaded?
I'm looking into this further. It appears we get a window:deactivate event (from at-api) when the mouse pointer leaves the gok window. I am not sure if this was normally the case.
Created attachment 18945 [details] [review] Proposed patch
The proposed patch seems to fix the problem described in this bug. Unfortunately it seems to leave us still with bug 116428.
Padraig, please apply your patch. I think it takes precedance over your fix for bug 116428. (Note you have a g_print trace statement you might want to remove) Thanks!
Patch committed to CVS HEAD.