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

gtk+ (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Jul 17 04:56:21 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.12.x




------- Comment #142 from Matthias Clasen  2008-07-17 04:56 UTC -------
Looking at your tests:

- it would be good to also check events on the root window

- it would be good to track the 'effective pointer window'

- cursor_on_sensitive: looks right, you are checking the expected sequence of
native events.

- change_sensitivity: according to the theory layed out further up,
  what I would have expected here is:

 - a leave notify with detail Ancestor on the real pointer window
 - leave notifies with detail Virtual on any ancestor of the real 
   pointer window up to the toplevel
 - an enter notify with detail Inferior on the root window

As Owen said much further up: Sending events with a detail of NOTIFY_UNKNOWN
basically means that any such tracking is a lost cause.


- cursor_from_insensitive_to_sensitive: what I would have expected here
  is:

 - a leave notify with detail Inferior on the root window
 - enter notifies with detail Virtual on any ancestor of the real 
   pointer pointer window, starting at the toplevel
 - an enter notify with detail Ancestor on the real pointer window

We seem to be missing the events on the intermediate windows, and on 
the one event we get, the detail is wrong. This is because the event
we get is a native one.

- cursor_from_sensitive_to_insensitive: pretty much the same comment,
  we don't get events on the intermediate windows, and the detail on
  the one event we get is wrong.


- establish_gtk_grab:
  What should be happening here is that first B is the effective pointer
  window, then when the grab takes place, B gets grab shadowed and the
  effective pointer window moves to root, so we should get leave notifies
  on B, E, W (with details Ancestor, Virtual, Virtual) and an enter 
  on the root window (with detail Inferior). The actual sequence looks
  nothing like it...


-- 
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