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 727507 - regression: unique widget names inside toplevels
regression: unique widget names inside toplevels
Status: RESOLVED NOTABUG
Product: glade
Classification: Applications
Component: general
3.12.x
Other Linux
: Normal major
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-04-02 17:56 UTC by rk
Modified: 2014-04-05 23:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description rk 2014-04-02 17:56:49 UTC
Some time ago, Glade fixed a bug, to allow again that several widgets have the same name if they are in different toplevels, and added the following to the preferences-dialog:

Object names are unique:
( ) within the project
( ) inside toplevels

Unfortunately, newer Glade-versions unfixed the bug again, and now Glade requires all widgets to have a gladefile-unique-name; and if an old file is loaded, Glade silently renames all non-unique-names, and so breakes many application.

So, please fix this bug *again*, and allow widget-names, which are widget-unique but not gladefile-unique, again!


(Tested with Glade 3.12.1; I cannot test newer Glade-versions, since newer Glade-versions do not run on Debian Wheezy (even if I complile the newest versions of Glade, GTK+ and all its dependencies), but fails with "attempting to create schema 'org.gtk.Settings.FileChooser' without a path")
Comment 1 Tristan Van Berkom 2014-04-05 23:24:00 UTC
Having widget names unique per-toplevel was only ever usable in the deprecated libglade format.

In Glade 3.8 we still support libglade format, and the option to do what you want for the case of libglade projects should still be there.

In Glade >= 3.10 we only support GtkBuilder format projects - and GtkBuilder does
not support this (having duplicate widget names in GtkBuilder is just invalid) - hence we do not support this feature any more.