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 701826 - Window height keeps shrinking
Window height keeps shrinking
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: GUI
1.12.x
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2013-06-07 21:54 UTC by Osmo Salomaa
Modified: 2014-11-15 14:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Osmo Salomaa 2013-06-07 21:54:50 UTC
Whenever I open a gnumeric file, it opens in a window about two rows less tall than it was when I last saved the file. Either the window height is saved wrong or restored wrong. Width is not affected.

This did not happen with 1.10.x.
Comment 1 Andreas J. Guelzow 2013-06-08 00:32:16 UTC
Could you please tell me more about your system. Specifically:
Which version of gtk3 are you using?
What are the settings (Horizontal and Vertical DPI) in edit->preferences Windows/Screen tab?

Thank you
Comment 2 Andreas J. Guelzow 2013-06-08 00:33:48 UTC
If you open a file resave it, open it again, resave it, always without changing the window height, does the window keep shrinking? At a fixed amount?
Comment 3 Osmo Salomaa 2013-06-08 11:36:15 UTC
(In reply to comment #1)
> Could you please tell me more about your system. Specifically:
> Which version of gtk3 are you using?

I'm using Debian unstable with some packages from experimental. I have gnumeric 1.12.2 and gtk 3.8.2.

> What are the settings (Horizontal and Vertical DPI) in edit->preferences
> Windows/Screen tab?

96. Changing that had no on the window shrinking.

(In reply to comment #2)
> If you open a file resave it, open it again, resave it, always without changing
> the window height, does the window keep shrinking? At a fixed amount?

Yes, the window keeps shrinking until of the cell area only the header row is visible. I took some screenshots and checked, the reduction is a fixed amount of 36 pixels.
Comment 4 Andreas J. Guelzow 2013-06-08 12:13:46 UTC
Thank you. Your info should help us a lot. I don't see this behaviour but I do not run gtk 3.8.x.
Comment 5 Osmo Salomaa 2014-01-01 13:47:46 UTC
For anyone else wondering, a good work-around is to use the -g/--geometry option, e.g. use the following as ~/bin/gnumeric or something that precedes /usr/bin in $PATH.

#!/bin/sh
/usr/bin/gnumeric -g 1400x960+260+120 "$@"
Comment 6 Osmo Salomaa 2014-11-14 23:42:17 UTC
I no longer experience this using Gnumeric 1.12.18 and GTK+ 3.14.5.
Comment 7 Morten Welinder 2014-11-15 14:48:58 UTC
Thanks for reporting back.

Feel free to reopen if the problem comes back.