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 93705 - OptionMenu leaves menuitem insensitive if set_history() is called while Menu is insensitive
OptionMenu leaves menuitem insensitive if set_history() is called while Menu ...
Status: VERIFIED INCOMPLETE
Product: gtk+
Classification: Platform
Component: Widget: Other
1.2.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2002-09-19 21:13 UTC by Christian Reis (not reading bugmail)
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Reis (not reading bugmail) 2002-09-19 21:13:05 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.
Comment 1 Christian Reis (not reading bugmail) 2002-09-20 12:16:00 UTC
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.
Comment 2 Owen Taylor 2002-09-26 21:40:29 UTC
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.
Comment 3 Matthias Clasen 2004-06-12 03:23:29 UTC
No comment in a long time. Closing.
Comment 4 Christian Reis (not reading bugmail) 2004-06-12 13:24:15 UTC
I'll come around to testing this with gtk2 again; if the problem reappears I'll
reopen.