[Bug 56070] Can't click button after setting it sensitive.

gtk+ (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Jan 9 00:08:13 UTC 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=56070

  gtk+ | gtk | Ver: 2.6.x




------- Comment #122 from Cody Russell  2008-01-09 00:08 UTC -------
Correction to what I posted before (sorry, it's been awhile since I was looking
at this stuff).

What's currently happening when the root window becomes the effective window
pointer is that we generate:
 - leave notify on real pointer window, detail Ancestor
 - leave notify on ancestors, detail virtual

And this is correct in itself.  However, the opposite is not correct I think:

When the root window stops being the effective pointer window it looks like we
generate:
 - enter notify on window (*), detail ancestor
 - leave notify on window (*), detail inferior
 - enter notify on other ancestors, detail virtual
 - enter notify on real pointer window, detail ancestor

(*) Note that in this case 'window' is an ancestor of real pointer window.


So if the mouse then moves back to the root window, you'll get this sequence:
 - leave notify on real pointer window, detail ancestor
 - leave notify on ancestors of real pointer window, detail virtual
 - leave notify on window, detail virtual

So what is not happening correctly (the way I understand it) in our test is
that window (our bottom ancestor) receives "enter notify, detail ancestor" then
immediately "leave notify, detail inferior" when the mouse pointer enters our
real pointer window and then when the mouse pointer leaves the real pointer
window, we get another leave notify on the window.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=56070.



More information about the pkg-gnome-maintainers mailing list