GNOME Bugzilla – Bug 602436
Changing menu item type after changing name causes glade to freeze
Last modified: 2010-12-17 09:24:55 UTC
I am starting with a menu item whose type is Image item. If I change the type to Normal and then change the name, there is no problem. However, if I change the name and then the type, glade becomes unresponsive most of the time. I am following this tutorial: http://www.micahcarrick.com/12-24-2007/gtk-glade-tutorial-part-1.html And it is in the course of following that tutorial that I am having this problem...
OK, I did a little more testing. It appears this behavior only occurs if the "name" text box does NOT loose focus before the "type" drop-down box is expanded. (Clicking on another component such as another text box or outside the window before clicking on the "type" drop-down box prevents the behavior from occuring) I do not know anything about the glade3 code, but my guess based on that behavior is that the menu items are somehow referenced by their "name." So, when the "name" textbox looses focus, the name is updated. However, the "type" drop-down box must need the name of the menu item somehow, but for whatever reason, it was not yet informed of the name change. So it starts looking for the old name for the menu and obviously cannot find it and so freezes. (Or the other way around: the name is not yet updated when the drop-down box callback function starts looking for the new name)
This bug is a duplicate of https://bugzilla.gnome.org/show_bug.cgi?id=609612
Indeed it is, lets close. *** This bug has been marked as a duplicate of bug 609612 ***