Created attachment 191876 [details] Example file from Word 2016 Attached simplified, user made document contains a section break and two pages. When opened in Writer, for some reason there is an automatically inserted empty page after the section break added. 1. Open attached file -> 3 pages instead of 2 Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 55e97eaabf6cce91f424e440af392143f11f3343 CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: threaded Seems to be like this since 4.2.
Created attachment 191877 [details] The example file in Word 2016 and current master
Bibisect-43all leads to the range: https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=8a569f1c4decc7440e9dae1af35d7fa59c3b0121..621c1e491e56db5416da1c763aaff862e8ede67a of which this one is sus: https://cgit.freedesktop.org/libreoffice/core/commit/?id=b904b9a4875a023b430f013e62b81bc90ea8a592 fdo#44689: fix for DOCX import+export of page number start value
I can only see two pages, but status bar says "Page 1 of 3" and "Page 3 of 3" Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 40617d867346956588ac023511f31210107217f4 CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL threaded
(In reply to Dieter from comment #3) > I can only see two pages, but status bar says "Page 1 of 3" and "Page 3 of 3" I get the same result. Gábor: please confirm what you see exactly. Arch Linux 64-bit, X11 Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 4253acd5300c526b062fc5b5f109e93e6e9d08df CPU threads: 8; OS: Linux 6.7; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Built on 31 January 2024
(In reply to Buovjaga from comment #4) > (In reply to Dieter from comment #3) > > I can only see two pages, but status bar says "Page 1 of 3" and "Page 3 of 3" > > I get the same result. > > Gábor: please confirm what you see exactly. => NEEDINFO
(In reply to Buovjaga from comment #4) > (In reply to Dieter from comment #3) > > I can only see two pages, but status bar says "Page 1 of 3" and "Page 3 of 3" > > I get the same result. > > Gábor: please confirm what you see exactly. Exactly that, but there should be no automatically inserted empty page, as there is no such in Word. This messes up number of pages field, and before printing one needs to find&uncheck the "Print automatically inserted pages" box on the second page of the Print dialog, to get the same printed layout as in Word. Setting to NEW since you see the same thing as me :).