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 640605 - Page breaks not displayed correctly.
Page breaks not displayed correctly.
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: general
0.97.x
Other All
: Normal normal
: 0.97.2
Assigned To: Dia maintainers
Dia maintainers
: 665612 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-01-25 23:53 UTC by Doug Wellington
Modified: 2011-12-05 20:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Doug Wellington 2011-01-25 23:53:26 UTC
Using Dia with "Letter" size paper, page breaks are incorrectly displayed at ~164mm and ~229mm.  (Should be 189.06mm and 258.4mm.)  Opening the Page Setup dialog and assigning new margins corrects the display.
Comment 1 Doug Wellington 2011-01-26 00:00:58 UTC
Tested on both Windows and Linux.  Same behavior.  Version is 0.97.1.
Comment 2 Doug Wellington 2011-01-26 00:42:16 UTC
I was told in email that the margins are 1" on each side and that is why the page breaks are displayed where they are.  Can we change the bug to be "Margins not correctly displayed in Page Setup dialog box" then?  When the Page Setup dialog is first opened, the margins are displayed as 10.30mm and 13.47mm, not 1" or 25.4mm.

Also, when the length unit is set to mm, the maximum margins are 10.30mm and 13.47mm, but when set to cm, maximum margins are 10.30cm and 13.47cm.
Comment 3 Doug Wellington 2011-01-26 00:48:35 UTC
Clarification: when the length unit is left at the default of "cm" the margins are correctly displayed as 2.54.  When the length unit is changed to "mm" the margins are displayed as 13.47 and 10.30.
Comment 4 Hans Breuer 2011-01-30 16:23:57 UTC
Thanks for the analysis, fixed on master:
http://git.gnome.org/browse/dia/commit/?id=f539025825eda946e514ffe2d882c7cd6729ab7d
Comment 5 Hans Breuer 2011-09-16 16:38:17 UTC
Cherry-picked to dia-0-97
Comment 6 Hans Breuer 2011-12-05 20:05:18 UTC
*** Bug 665612 has been marked as a duplicate of this bug. ***