After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 92135 - insensitive buttons still receives events -- UPDATE!!!
insensitive buttons still receives events -- UPDATE!!!
Status: RESOLVED NOTABUG
Product: gtk+
Classification: Platform
Component: .General
1.2.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2002-08-30 17:00 UTC by rushjeffrey
Modified: 2011-02-04 16:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
example to show possible bug with gtk_widget_set_sensitive (2.33 KB, text/plain)
2002-09-02 14:37 UTC, rushjeffrey
Details

Description rushjeffrey 2002-08-30 17:00:48 UTC
when I do:
mybutton.set_sensitive(FALSE);
heavy_calculations();
mybutton.set_sensitive(TRUE);
the button gets greyed out but it obviously still receives (clicked) events
while doing the calculations. When calculations are finished and button is
'activated' again, the button's callback routine gets called if it was
clicked (during the greyed out phase).
Problem exists in pure GTK+ too. Examples available on gtkmm mailing list
or by request. Please inform me if bug gets solved.

Cheers,
Jeffrey Rush
rushjeffrey@hotmail.com
Comment 1 Murray Cumming 2002-08-31 09:23:44 UTC
Please attach the GTK+ test code and reassign this to GTK+.
Comment 2 rushjeffrey 2002-09-02 14:37:21 UTC
Created attachment 10856 [details]
example to show possible bug with gtk_widget_set_sensitive
Comment 3 rushjeffrey 2002-09-02 18:28:19 UTC
Oh,

someone just told me that I was somehow WRONG! It's not a GTK+
bug. You can trash my bug-report. I'm sorry.