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 602436 - Changing menu item type after changing name causes glade to freeze
Changing menu item type after changing name causes glade to freeze
Status: RESOLVED DUPLICATE of bug 609612
Product: glade
Classification: Applications
Component: general
unspecified
Other Linux
: Normal critical
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-11-19 18:33 UTC by alexandre.zani
Modified: 2010-12-17 09:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description alexandre.zani 2009-11-19 18:33:58 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...
Comment 1 alexandre.zani 2009-11-19 18:49:18 UTC
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)
Comment 2 Marco Diego Aurélio Mesquita 2010-03-20 06:09:02 UTC
This bug is a duplicate of https://bugzilla.gnome.org/show_bug.cgi?id=609612
Comment 3 Tristan Van Berkom 2010-12-17 09:24:55 UTC
Indeed it is, lets close.

*** This bug has been marked as a duplicate of bug 609612 ***