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 744095 - Margin left and right aren't honored after loading
Margin left and right aren't honored after loading
Status: RESOLVED OBSOLETE
Product: glade
Classification: Applications
Component: general
3.18.x
Other Windows
: Normal normal
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-02-06 13:36 UTC by Domenico Ferrari
Modified: 2018-03-26 15:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Domenico Ferrari 2015-02-06 13:36:56 UTC
When setting the margins they are used but when I reload the project, the values are still there but the rendering isn't using them.
If I change the values the dialog reflects the changes.

Steps to reproduce:
1. add a widget
2. set margin left or right
3. save
4. close
5. reload: margin value is present but it isn't used.

Margin top and bottom behave correctly.

Glade 3.18.3
Comment 1 Tony Houghton 2015-04-03 13:30:57 UTC
I think this may be related to the problem I'm experiencing. When copying/cutting and pasting a widget, its left and right margins get reset to 0, and the same happens to all its children if it's a container. I think vertical margins are unaffected.
Comment 2 Tony Houghton 2015-04-03 13:32:49 UTC
Could this be related to #722514?
Comment 3 Tobias Schönberg 2015-06-18 11:52:28 UTC
I think I also just ran into this bug (using Glade 3.19.0). And I also think it is related to https://bugzilla.gnome.org/show_bug.cgi?id=722514

I edited a Glade file in a text editor and replaced "margin-right" with "margin-end". Glade loads the project fine, but all the right margins then show up as 0.

Entering a new margin-right value in Glade and saving (targeting GTK 3.14) will insert this into the XML:

      <property name="margin_right">6</property>

Although Glade should insert this I guess starting with GTK 3.12:

      <property name="margin_end">6</property>

So there is a bug both for the correct reading and the correct writing of the Glade file.
Comment 4 Ivan Molodetskikh 2018-03-18 07:08:06 UTC
I'm running into this on Glade 3.22.0 and it's really annoying.
Comment 5 GNOME Infrastructure Team 2018-03-26 15:45:01 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/195.