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

bugzilla-daemon@bugzilla.gnome.org bugzilla-daemon@bugzilla.gnome.org
Tue, 25 Jan 2005 19:10:57 -0500 (EST)


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=56070
 gtk+ | gtk | Ver: 1.3.x





------- Additional Comments From Martin Pool  2005-01-25 19:10 -------
Right, so that means we probably shouldn't do it from
gtk_widget_set_sensitive(); we wouldn't want to incur dozens of roundtrips if
the program sensitized dozens of controls.

However it seems like we could stand to incur one roundtrip per event loop for
the particular case where the sensitivity of a control has changed. 
set_sensitive should set a flag saying to do this.  

To me, having the GUI behave correctly and not ignore user input is important
enough to justify the expense.  (I guess as an optimization you might check for
events, and see if any of them have told you the current mouse position, and if
you got it then you wouldn't need to ask.)

------- You are receiving this mail because: -------
You are on the CC list for the bug.