GNOME Bugzilla – Bug 640282
insensitive, active check button becomes sensitive
Last modified: 2011-01-23 18:47:22 UTC
Created attachment 179050 [details] C testcase Steps to repro: Compile the attached testcase, and run it. Expected results: The testcases contains some checkbuttons, that are set to active=true, sensitive=false. Therefore, the checkbuttons should be pre-checked but insensitive. Actual results: The 2nd checkbutton is sensitive. After the timeout toggles the 3rd checkbutton for the first time, it too becomes sensitive! The difference between the buttons is the order in which the properties are set. It appears that setting the checkbutton insensitive first, then active, will override the sensitive property!
It's happening like this: Breakpoint 1, gtk_widget_set_sensitive (widget=0x80a33e8, sensitive=1) at gtkwidget.c:7575 (gdb) where
+ Trace 225652
Ouch, my bad, I've fixed this and other situations I've seen where something similar could happen, the relevant commits to this bug are a0e1fa9e and 0c7772f0cf