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 766395 - Wrong page setup using landscape format
Wrong page setup using landscape format
Status: RESOLVED OBSOLETE
Product: Gnumeric
Classification: Applications
Component: Printing
1.12.x
Other Linux
: Normal minor
: ---
Assigned To: Andreas J. Guelzow
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2016-05-13 19:24 UTC by 12spahn46
Modified: 2018-05-22 14:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Two screenshots showing the bug (OpenOffice Writer file) (82.46 KB, application/vnd.oasis.opendocument.text)
2016-05-13 19:24 UTC, 12spahn46
Details
File showing the wrong layout in preview mode (1.90 KB, application/x-gnumeric)
2016-05-14 08:16 UTC, 12spahn46
Details

Description 12spahn46 2016-05-13 19:24:01 UTC
Created attachment 327821 [details]
Two screenshots showing the bug (OpenOffice Writer file)

Using 'page setup' for landscape mode the header and footer setup is wrong! 

That means: the setup for the header margin is shown as footer margin and the footer margin is shown as header margin in the print preview window (see the attached screenshots).

The printed page is also wrong and shows the same wrong layout!

I'm using Fedora 23 with GTK+ 3.18.9

Please correct this bug.

Dieter
Comment 1 Andreas J. Guelzow 2016-05-14 00:43:38 UTC
I cannot replicate this. Would you be able to provide :

1) The Gnumeric file you used.
2) The version of gtk you are using on your machine.
Comment 2 12spahn46 2016-05-14 08:16:01 UTC
Created attachment 327859 [details]
File showing the wrong layout in preview mode

First, I am using gtk2 version 2.24.30 and gtk3 version 3.18.9, both on Fedora 23.

Second, in the attached spreadsheet you can clearly see, that the top and bottom margins are wrong (compare preview with the page setup values in the attached file).

Dieter
Comment 3 Andreas J. Guelzow 2016-05-14 13:38:24 UTC
Hmm, with gtk 3.10.8 everything looks find.
Comment 4 Jean Bréfort 2016-05-15 08:21:57 UTC
Confirmed with gtk+-3.20, with any file when top and bottom margins are different. Things work fine in portrait mode but the values are exchanged in landscape mode.
Comment 5 Andreas J. Guelzow 2016-05-15 17:43:38 UTC
So this seems to be a change in gtk, which means it is a gtk bug and not a Gnumeric bug. Please file it against GTK.
Comment 6 Morten Welinder 2016-05-16 18:29:04 UTC
I see it with 2.24.30
Comment 7 Morten Welinder 2016-05-22 23:50:21 UTC
I also do not see it with 3.10.8 (i.e., Linux Mint LTS)
Comment 8 Andreas J. Guelzow 2016-05-23 00:29:12 UTC
Morten, when you wrote 2.24.30, did you mean 3.24.30?

This problem seem to have been introduced between gtk 3.10.8 and 3.20.
Comment 9 Morten Welinder 2016-05-23 00:33:27 UTC
Yes, I meant 3.24.30.  That machine is at work.
Comment 10 GNOME Infrastructure Team 2018-05-22 14:25:30 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/gnumeric/issues/304.