Bug 82161 - Empty pages in PDF export while no empty pages in print preview
Summary: Empty pages in PDF export while no empty pages in print preview
Status: RESOLVED WORKSFORME
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: bibisected, bisected
Depends on:
Blocks:
 
Reported: 2014-08-05 01:21 UTC by Sk!d
Modified: 2016-05-09 17:34 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
document i tried to export to pdf (282.09 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-08-05 01:21 UTC, Sk!d
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sk!d 2014-08-05 01:21:38 UTC
Created attachment 104032 [details]
document i tried to export to pdf

There are empty pages in the PDF-export even if there are no empty pages in the print preview. The PDF export should export the same pages shown in the print preview without empty pages.

To reproduce see attachment try to press preview and then export to pdf. There should be no empty pages in preview while there are empty pages in pdf.

I am using LibreOffice 4.3.0.4
Comment 1 Yousuf Philips (jay) (retired) 2014-08-05 08:07:07 UTC
Hello Sk!d,

Thank you for submitting the bug. I can confirm that the bug is available in 3.3.0, 4.2.6, and 4.3.1 on Linux. It been fixed in 4.4 (master).
Comment 2 Yousuf Philips (jay) (retired) 2014-08-05 22:45:05 UTC
@Joel: This is fixed in 4.4 and not in 4.3, i've tested these on the latest builds i can download as of this minute.

Version: 4.3.1.0.0+
Build ID: ea596d69054bca96ac15fa46631c42422e859b19
TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:libreoffice-4-3, Time: 2014-08-05_13:36:57

Version: 4.4.0.0.alpha0+
Build ID: 04a65e2704ee80701ca750f2e7c8c0565d2aa830
TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:master, Time: 2014-08-04_23:58:20
Comment 3 Dave Richards 2014-12-05 13:31:21 UTC
Confirmed that prior to 4.4 it never worked via bibisect.
Comment 4 Matthew Francis 2014-12-08 05:20:12 UTC
Bibisected the fix, then bisected the exact commit which is this one:
 0ac652bbc01ab7c9304b5e230695f4193dfadd09 is the first bad commit
commit 0ac652bbc01ab7c9304b5e230695f4193dfadd09
Author: Joren De Cuyper <jorendc@libreoffice.org>
Date:   Wed Jun 25 21:26:00 2014 +0200

    fdo#39111 - UI inconsistent concerning suppression of output for empty pages
    
    Change-Id: I6017e77e46298b45c7584830178455fe29016209
    Reviewed-on: https://gerrit.libreoffice.org/9907
    Reviewed-by: Caolán McNamara <caolanm@redhat.com>
    Tested-by: Caolán McNamara <caolanm@redhat.com>


It still seems to be missing in 4.3.4.1
Comment 5 Robinson Tryon (qubit) 2014-12-29 21:45:51 UTC
Replacing fixedInMaster with backportRequest.
4.2 is EOL, and this is fixed in 4.4 and 4.5 (master), so 
Whiteboard -> backportRequest:4.3
Comment 6 Joel Madero 2015-01-05 17:17:41 UTC
Adding bibisected to whiteboard as bisected keyword is a subset of bibisected whiteboard.

Thanks!
Comment 7 Robinson Tryon (qubit) 2015-01-19 05:27:00 UTC
(In reply to Robinson Tryon (qubit) from comment #5)
> Replacing fixedInMaster with backportRequest.
> 4.2 is EOL, and this is fixed in 4.4 and 4.5 (master), so 
> Whiteboard -> backportRequest:4.3

Fixed in 4.4, 4.5, so
Status -> RESOLVED WORKSFORME

Just tested with 4.3.6.1 and there are SEVERAL extra blank pages at the end of the exported PDF, so CONFIRMED in the latest 4.3 build, and the backportRequest:4.3 will remain.
Comment 8 Cor Nouws 2015-04-03 15:32:36 UTC
Hi guys,

I seriously doubt if this has been fixed in 4.4.x

In 4.4.2.2, I see a PDF export of 19 pages, and 13 is empty.
Print ranges seems to be not respected.

Same in daily 20150330
Comment 9 Robinson Tryon (qubit) 2015-12-17 08:29:30 UTC
Migrating Whiteboard tags to Keywords: (bibisected)
[NinjaEdit]
Comment 10 Michael Stahl (allotropia) 2016-05-09 17:34:57 UTC
remove "backportrequest" for EOL release branch