Bug 161538 - FILEOPEN RTF DOCX Extra empty page inserted into specific file with mirrored margins, starting on Even side
Summary: FILEOPEN RTF DOCX Extra empty page inserted into specific file with mirrored ...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.6.0.4 release
Hardware: All All
: medium normal
Assignee: Juergen Funk (CIB)
URL:
Whiteboard: target:25.2.0
Keywords:
Depends on:
Blocks: RTF DOCX-Page
  Show dependency treegraph
 
Reported: 2024-06-12 22:32 UTC by Gabor Kelemen (allotropia)
Modified: 2024-07-11 09:18 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
The example file in Word 2016 and in Writer master, print preview mode (69.07 KB, image/png)
2024-06-12 22:32 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2024-06-12 22:32:50 UTC
Created attachment 194689 [details]
The example file in Word 2016 and in Writer master, print preview mode

This is a followup to bug 161521

When the attachment 194668 [details] is opened, it starts with an automatically inserted empty page.

1. Open attachment 194668 [details] 
2. Go to Print Preview
-> there is an empty first page, which may affect document layout, number of pages

In Word there is no such page.

Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: a2b6ce5d21b7f5c84ced8485f5af279f1bf8135f
CPU threads: 14; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: default
Comment 1 Stéphane Guillou (stragu) 2024-07-01 15:20:46 UTC
Reproduced in:

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5bf58785ba2831de4efc2afe9df463b4a753ccb1
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded
Comment 2 Commit Notification 2024-07-11 08:58:47 UTC
Juergen Funk committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/c92e4d1a944019dd5b14cdce3d85213d2a8d9e92

tdf#161538 fix empty page inserted into specific file

It will be available in 25.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Juergen Funk (CIB) 2024-07-11 09:18:45 UTC
It is imported for test, 

the empty pages must be switch off, with
Tools -> Options... -> LibreOffice Writer -> Print
    "Print automatically inserted blank pages"
this checkbox must be switch OFF and RESTART of LibreOffice