Bug 129594 - When "Fit print range(s) to width" value is set to "2", in Print Preview the Left/Right page margin shows 0cm, although in page format the margin is set to 1cm
Summary: When "Fit print range(s) to width" value is set to "2", in Print Preview the ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Print-Preview
  Show dependency treegraph
 
Reported: 2019-12-24 03:59 UTC by Kevin Suo
Modified: 2023-04-05 18:00 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
test ODS file (35.08 KB, application/vnd.oasis.opendocument.spreadsheet)
2019-12-24 03:59 UTC, Kevin Suo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Suo 2019-12-24 03:59:05 UTC
Created attachment 156768 [details]
test ODS file

Steps to Reproduce:
1. Open the attached ODS file. Observe that the page left margin is 1cm. (Format -> Page)
2. Print Preview. Observe that the left margin is wrongly rendered as zero.
3. Close print preview, and change the page right margin to 1cm (previously it is 0cm). Then close and reopen the page format dialog. --> The right margin is wrongly reset to zero.

Expected Result:
In step 2, the left margin in print preview should be the same as in page format settings.
In step 3, the right page margin should be the value as set in step 2.

版本: 6.2.8.2
Build ID: f82ddfca21ebc1e222a662a32b25c0c9d20169ee
CPU 线程: 4; 操作系统: Linux 5.0; UI 渲染: 默认; VCL: gtk3; 
区域语言: zh-CN (zh_CN.UTF-8); UI 语言: zh-CN
Calc: threaded
Comment 1 Timur 2019-12-24 12:41:16 UTC
This seems inherited and also reproducible in Win up to Lo 6.5+.
Not as reporter wrote in step 3., because I see all margins as 1 cm, but as missing margins in Print Preview.
Key question is why this happens. Maybe "Fit print range(s) to width" with value of 2. If set 1 for fit width, or set 2 for fit height, margins appear in Print Preview.
Comment 2 Kevin Suo 2021-11-17 14:38:00 UTC
Still reproducible with
Version: 7.3.0.0.alpha1+ / LibreOffice Community
Build ID: 35d9d085436e159bdeb6cba9c94865d6346af530
CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: gtk3
Locale: zh-CN (zh_CN.UTF-8); UI: zh-CN
Calc: threaded