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 761142 - Window height grows when resaving
Window height grows when resaving
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: GUI
git master
Other All
: Normal major
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2016-01-26 16:43 UTC by Morten Welinder
Modified: 2016-01-28 09:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Morten Welinder 2016-01-26 16:43:53 UTC
Loading and resaving produces a change in window height:

$ gunzip < Book1.gnumeric | grep -i geom
  <gnm:Geometry Width="1440" Height="602"/>
$ gunzip < Book2.gnumeric | grep -i geom
  <gnm:Geometry Width="1440" Height="638"/>

So we grew 36 pixels here.


See bug 701826 for an opposite experience.
Comment 1 Morten Welinder 2016-01-26 22:50:24 UTC
12 pixels per visible toolbar above the sheets.
Comment 2 Morten Welinder 2016-01-26 23:07:24 UTC
This css in gnumeric.css is what triggers the issue.  I have no idea
why, but it smells like a gtk+ bug.


GtkBox.toolbarzone GtkToolbar {
  padding: 0;
}
Comment 3 Jean Bréfort 2016-01-27 06:05:00 UTC
I'm unable to reproduce. Gtk+ is 3.18.6.
Comment 4 Morten Welinder 2016-01-27 22:05:27 UTC
With 3.12.3 (latest I can easily compile) I see an increase of 4 pixels
per toolbar.

Jean: That might be too little to see.  Can you please verify that you are
not affected by looking at the xml?   This should do:

gunzip < Book2.gnumeric | grep Geo
Comment 5 Morten Welinder 2016-01-27 23:16:43 UTC
I just pushed a workaround.

Andreas: please verify that this works for you.
Comment 6 Jean Bréfort 2016-01-28 09:39:00 UTC
Morten, I checked the xml, no change in the Geometry field.