GNOME Bugzilla – Bug 621143
Add user visible way to see which objects refer to another object (eg "which spin buttons use a given adjustment")
Last modified: 2018-03-26 15:14:35 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.
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.
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
Updating title to something more useful.
-- 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.