Bug 160809 - Inserted blank page has page border of subsequent (non-blank, styled) page
Summary: Inserted blank page has page border of subsequent (non-blank, styled) page
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
24.2.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Export Writer-Styles-Page Additional-Blank-Pages
  Show dependency treegraph
 
Reported: 2024-04-24 13:47 UTC by Eyal Rozenberg
Modified: 2024-04-24 14:05 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Document for which exporting triggers the bug (63.78 KB, application/vnd.oasis.opendocument.text)
2024-04-24 13:49 UTC, Eyal Rozenberg
Details
attachment 193837 - exported to PDF (21.69 KB, application/pdf)
2024-04-24 13:51 UTC, Eyal Rozenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2024-04-24 13:47:27 UTC
Consider the soon-to-be-attached document. It has a single page, with the Left Page style. Never mind what you think of that style and its behavior - as things are defined right now, this page triggers the insertion of a blank page before it. You can see the blank page if you switch to Book View (e.g. via the bottom-of-window toolbar buttons).

Now, if I export the document to PDF, and enable "export automatically inserted blank pages" in the dialog, I get a two-page document beginning with... not quite a blank page, but rather a blank page plus a green page border, like the Left Page style has defined; other features of the Left Page style are not applied (which is intended behavior).
Comment 1 Eyal Rozenberg 2024-04-24 13:49:22 UTC
Created attachment 193837 [details]
Document for which exporting triggers the bug

Exporting this to PDF results in a PDF with the blank page having a green page order.
Comment 2 Eyal Rozenberg 2024-04-24 13:51:16 UTC
Created attachment 193838 [details]
attachment 193837 [details] - exported to PDF

Export to PDF - note green page border on first, otherwise blank page.
Comment 3 Eyal Rozenberg 2024-04-24 13:52:13 UTC
I saw this with:

Version: 24.2.0.2 (X86_64) / LibreOffice Community
Build ID: b1fd3a6f0759c6f806568e15c957f97194bbec8f
CPU threads: 4; OS: Linux 6.6; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US

and also seeing this with:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ffccbf4762a9ae810bcdd21c41fccdd436e7bfc9
CPU threads: 4; OS: Linux 6.6; UI render: default; VCL: gtk3
Locale: he-IL (en_IL); UI: en-US


But note that I don't get this with just _any_ PDF with Left Page style applied to the first page. Can't quite pin down what makes this one trigger the problem.