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 621143 - Add user visible way to see which objects refer to another object (eg "which spin buttons use a given adjustment")
Add user visible way to see which objects refer to another object (eg "which ...
Status: RESOLVED OBSOLETE
Product: glade
Classification: Applications
Component: user interface
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-09 20:08 UTC by CJ Kucera
Modified: 2018-03-26 15:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description CJ Kucera 2010-06-09 20:08:39 UTC
I've noticed some unfortunate things about the way Glade 3.6.7 deals with Adjustments and SpinButtons.  In Glade 3.4.x the two were very tightly coupled (the Adjustment values were actually on the SpinButton tab itself), which was basically how I'd like to continue to use them.  The problems I've noticed with the current setup are:

1) If I copy a spinbutton and paste it elsewhere, instead of creating a new Adjustment, it links in the old one, which is very rarely what I want.  So then I've got to go in and create a new Adjustment by hand for the new SpinButton.

2) When deleting SpinButtons, the associated Adjustment hangs around and it's a somewhat tedious process to figure out which Adjustments it's safe to delete, when I want to clean up the object list on the righthand side of the screen.

Anyway, just my opinion of course, but I'd much prefer the older 3.4.x way of dealing with SpinButton Adjustments; the newer methods have proven to be fairly cumbersome.
Comment 1 CJ Kucera 2010-07-29 22:03:22 UTC
Just to expand on item 2 here, since I've just run into this again...  There's simply no way (that I can see, anyway) to tell what's *using* an Adjustment.  If I've got an Adjustment in the list, and I want to figure out what's using it (if anything), I have to manually go through every single SpinButton in my project to see if the name of the adjustment matches.  It's incredibly suboptimal, IMO.

I'd love to see this behavior reverted back to how it was handled in Glade 3.4.
Comment 2 Tristan Van Berkom 2010-07-31 02:06:57 UTC
Note for the record, the difference is between libglade and GtkBuilder
format (builder format option added in 3.6.x).

In the old format the adjustment was an attribute of the spin button,
in the new format its a GObject reference.

That being said, 2 things should be done probably,
  - Embed the adjustment editor in the spinbutton editor
    when an adjustment is specified (as an imagemenuitem
    editor embeds an image editor for instance).

  - Add some way to list the objects that refer to another 
    project object
Comment 3 Tristan Van Berkom 2013-05-20 12:57:58 UTC
Updating title to something more useful.
Comment 4 GNOME Infrastructure Team 2018-03-26 15:14:35 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glade/issues/66.