GNOME Bugzilla – Bug 93705
OptionMenu leaves menuitem insensitive if set_history() is called while Menu is insensitive
Last modified: 2009-08-15 18:40:50 UTC
OptionMenu leaves menuitem insensitive if set_history() is called while Menu is insensitive. Steps to reproduce: - Create OptionMenu - Add items to it - select an item other than item 0 - Set OM insensitive - call set_history(0) - Set OM sensitive - click on the menu. the item selected previously is insensitive.
This can be worked around by setting the menuitem in question to STATE_NORMAL and STATE_PRELIGHT. However, I haven't found a way to discover programatically which of the items _looks_ insensitive (it's sensitive attribute is TRUE, it just displays wrong) so you have to do it for each of the menuitems.
Need a tset case for this, so I can check whether it still occurs with GTK+-2.0. Not going to fix it for 1.2.x at this point. Please reopen if you add more information, thanks.
No comment in a long time. Closing.
I'll come around to testing this with gtk2 again; if the problem reappears I'll reopen.