GNOME Bugzilla – Bug 52047
a button does not respond to mouse
Last modified: 2006-11-07 19:43:11 UTC
If a button appears just under the mouse, it won't get an enter event, and it would not respond to a "click", leaving the mouse and entering again solves it. Very annoying in the gnome logout window :).
I don't believe this is general (try it, for example, with testgtk), I believe it is specific to the way that the GNOME logout screen works by grabbing the pointer and keyboard to an off-screen invisible window, then moving the grab back to the toplevel of the logout window when the window is mapped. (See comments in the source code.) You might want to try changing the owner_events field in the first call to gdk_pointer_grab in gsm/logout.c from FALSE to TRUE; that might possibly fix the problem.
Manuel: does the suggested fix (or a newer version of gsm) fix the problem?
I'm currently using gnome-core version: 1.4.0.4-ximian.11 It still happens. This is not a problem with gsm but with gtk. I filled a bug for GTK with a demo program. The problem is that if a widget is enabled after the mouse is over it, it doesn't seem to get enter event.
Please, see: http://bugzilla.gnome.org/show_bug.cgi?id=56070 for more info. Probably you want to close this bug, or even better, make it depend on 56070, so that when 56070 is closed we can come back to see if this problem is solved.
Adding GNOME2 keyword to make sure it's fixed there.
Manuel: aren't you running g2 now? is this still a problem?
I still use gnome1 for daily work. I tested in gnome2 and it still happens. Basically this bug is: http://bugzilla.gnome.org/show_bug.cgi?id=56070 So this bug can be closed, as it is not gsm fault but gtk. Closing bug.
I closed bug 56070, but this problem is still there with gnome 2.3.3. Reopening the bug.
Moving this to gnome-session where it belongs. I can still reproduce this with 2.4.0...
This is still present in gnome-session 2.7
So owen's proposed fix comment 1 works. commited to both head and 2-16 2006-11-07 Ray Strode <rstrode@redhat.com> Fix bug where clicking logout button doesn't work if mouse pointer happens to be on top of the button when the window is mapped (bug 52047) * logout.c (display_gui): set owner_events to TRUE in grab pointer call