Bug 47977 - VIEWING: Page Break Preview result related to current zoom
Summary: VIEWING: Page Break Preview result related to current zoom
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: Other Windows (All)
: medium normal
Assignee: Not Assigned
Whiteboard: BSA
Depends on:
Blocks: PDF-Export Zoom Calc-Page-Break
  Show dependency treegraph
Reported: 2012-03-27 22:21 UTC by Rainer Bielefeld Retired
Modified: 2023-09-08 01:48 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

Test Kit (620.17 KB, application/zip)
2012-03-27 22:21 UTC, Rainer Bielefeld Retired
Screenshot of Calc (20% zoom) and an exported PDF file (126.82 KB, image/png)
2017-06-01 21:49 UTC, Thomas Lendo

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Bielefeld Retired 2012-03-27 22:21:31 UTC
Created attachment 59136 [details]
Test Kit

Page Break Preview should show reliably how printing or PDF export result will look but it does not.

Steps to reproduce:
1. download and unzip test kit
2. open Defect_Statistic.ods
   > Page break preview shows all charts in a page not 
     exceeding page borders
3. open Defect_Statistic120328.pdf
   Expected:  all charts in a page not exceeding page borders
   Actual: at the top you see some date fragments from a chart
           on page 2
4. Switch back to Defect_Statistic.ods
5. Modify zoom to 20%
   Expected: still all charts shown completely in pages
   Actual: all charts except first one seem to exceed page

I added some screenshots concerning my observations

I will have to check results with other versions.
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120312 Firefox/11.0 SeaMonkey/2.8
Comment 1 sasha.libreoffice 2012-06-22 00:49:51 UTC
Thanks for bugreport
reproduced in 3.5.2 on Windows 7 32 bit
not reproduced in 3.5.4 on Fedora 64 bit
May be fixed? Or it is Windows specific.

But in 3.6.b1 on Fedora 64 bit reproducible again. But diagram shifted in different direction comparing to 3.5.2
Comment 2 Rainer Bielefeld Retired 2012-06-22 01:51:00 UTC
Still [Reproducible] with test kit parallel installation of Master "LOdev "   - WIN7 Home Premium (64bit) ENGLISH UI [Build ID: 8d39b7]" (tinderbox: W2008R2@16-minimal_build, pull time 2012-06-20 04:38:46)

Starting with minimum zoom and increasing step by step clicking the "+" in the status bar for some zooms charts on Page 2 sometimes exceed bottom of page, sometimes do not.
Comment 3 sasha.libreoffice 2012-06-22 02:45:04 UTC
reproduced also in 3.3.4 on Fedora 64 bit
still not reproducible in 3.5.4. And I have no 3.5.4 on Windows today for test
Comment 4 Rainer Bielefeld Retired 2012-06-22 03:13:12 UTC
Reproducible with LibO Build-ID: 350m1(Build:2) on Ubuntu12 61bit (VirtualBox)

Enough confirmations for NEW.

But we still failed to find the "real" root of the problem.
Comment 5 QA Administrators 2015-01-05 17:52:24 UTC Comment hidden (obsolete)
Comment 6 Buovjaga 2015-01-20 15:02:21 UTC
No problem with pdf export anymore, but the zoom thing persists (on other zoom levels besides 20% as well).

Win 7 Pro 64-bit Version:
Build ID: 07e84cae983c08afdba03018413a19d01abb3006
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2015-01-19_06:15:38
Comment 7 QA Administrators 2016-02-21 08:37:48 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2017-03-06 16:00:52 UTC Comment hidden (obsolete)
Comment 9 OfficeUser 2017-05-24 12:04:49 UTC
Could be related with bug 106111.
Comment 10 Thomas Lendo 2017-06-01 21:49:50 UTC
Created attachment 133793 [details]
Screenshot of Calc (20% zoom) and an exported PDF file

Zooming seems to work.

But PDF export shows a completely different page break.

Build ID: b08217989558addbcaded122a4e7211ae24bbcff
CPU threads: 4; OS: Linux 4.8; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-05-31_06:36:03
Locale: de-DE (de_DE.UTF-8); Calc: group
Comment 11 QA Administrators 2018-07-15 02:42:39 UTC Comment hidden (obsolete)
Comment 12 QA Administrators 2020-07-15 04:03:34 UTC Comment hidden (obsolete)
Comment 13 QA Administrators 2022-07-16 03:54:09 UTC Comment hidden (obsolete)
Comment 14 Kira Tubo 2023-09-08 01:48:29 UTC
Reproduced on daily master build. Also reproduced on LibreOffice v.3.3.0, so updated version to Inherited From OOo.

- 20% zoom level displays charts within page break boarders in daily master build (but boarders seemed to be an issue for all pages on v.3.3.0). For other zoom levels, page 2 for both builds show bottom chart exceeding page boarders (28%, 49%, 50%, 55%, etc.), while for other zoom levels, charts are within page boarders. 
- for the PDF, if the file is open in Adobe Acrobat, there is some date ranges from page 2 that are displaying on page 3. If the file is open in LO Draw, the bottom chart of page 2 is displayed on page 3. 

Version: (X86_64) / LibreOffice Community
Build ID: 9a37652b79001bf5208841b9221dee851b9b6d0f
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded