[Bug 56070] Can't click button after setting it sensitive.
gtk+ (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Mon Feb 5 14:12:21 CET 2007
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=56070
gtk+ | gtk | Ver: 2.6.x
------- Comment #81 from Ed Catmur 2007-02-05 13:10 UTC -------
Created an attachment (id=81931)
--> (http://bugzilla.gnome.org/attachment.cgi?id=81931&action=view)
gtk-sensitivity.patch
> it should be possible to take Owens approach of storing a global pointer window
> per display instead. Right ?
Per-screen, you mean? This iteration stores the global pointer window in a
qdata on the GdkScreen; there doesn't seem to be anywhere I can add a member to
a struct, unfortunately.
> One detail I wonder about is if it can happen in
> _gtk_widget_synthesize_crossing
> that from != to but from_window == to_window (thinking of no-window widgets
> sharing the window with their parent), in which case
>
> + else if (from_window == to_window)
> + ;
>
> may cause missed events. But maybe that case can never happen...
No, it does happen fairly often e.g. in menus or scrollbars, where a no-window
widget gets Gtk+ grab. But it won't leak events, because the no-window widget
isn't expecting enter/leave events anyway.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
More information about the Pkg-gnome-maintainers
mailing list