Bug 165214 - FILEOPEN RTF Page counting is not reset in specific document
Summary: FILEOPEN RTF Page counting is not reset in specific document
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: RTF-Opening
  Show dependency treegraph
 
Reported: 2025-02-12 08:46 UTC by Gabor Kelemen (allotropia)
Modified: 2025-04-08 11:03 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Word 2016 (228.77 KB, application/msword)
2025-02-12 08:46 UTC, Gabor Kelemen (allotropia)
Details
The example file in Word and Writer master (117.55 KB, image/png)
2025-02-12 08:46 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) 2025-02-12 08:46:25 UTC
Created attachment 199161 [details]
Example file from Word 2016

Attached customer made document has some page number resets in Word after every second visible page.
In Writer, the page numbering is not reset.

1. Open attached document
-> check page numbering in the footer. It is not reset to 1 on the third page.

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6042e60d69c40d1f307710e60a278cb286d68603
CPU threads: 14; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: threaded

Seems like this started to be bad in 24.2 sometime.
Comment 1 Gabor Kelemen (allotropia) 2025-02-12 08:46:54 UTC
Created attachment 199162 [details]
The example file in Word and Writer master
Comment 2 Saburo 2025-02-13 10:00:58 UTC
There are other bugs, but they don't reproduce anymore.
In document view, the page count is 1,2,1,2,3,1 (7 pages total).
In print preview, it is 1,2,1,2 (4 pages total).
Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6f8516d055a2c9d995b24729d64ea8f2adfdacb2
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ja-JP (ja_JP.UTF-8); UI: ja-JP
Calc: threaded

***
page counting(1,2,1,2,1 --> 1,2,1,2)
linux-64-24.2
source 15b886f460919ea3dce425a621dc017c2992a96b

page counting(1,2,1,2 --> 1,2,1,2,1)
linux-64-24.2
source b5a31c9cd0b53957a716a487e203f13919bac64c

page counting(1,2,1,2,1 --> 1,2,2,3)
linux-64-24.2
source ff7f1b59e22092d8548459e75fe912db852f056f

page counting(1,2,2,3 --> 1,2,3,4)
linux-64-25.2
source 7d924018f3ea58050081936bde067391714a8bb5

page counting(1,2,3,4)
When you initialize a user profile, the first time only it becomes 1,2,1,2.
Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5a77b665a40b606ba914f361d4d4271be0a064c6
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ja-JP (ja_JP.UTF-8); UI: en-US
Calc: threaded
Comment 3 Juan Q. 2025-03-11 04:15:29 UTC
Hello Garbo,

Thank you for reporting the bug. I can confirm that the bug is present in stable version and master.

Version: 25.2.1.2 (X86_64) / LibreOffice Community
Build ID: d3abf4aee5fd705e4a92bba33a32f40bc4e56f49
CPU threads: 12; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e79e12484f5a7ec20e48233a2b5b60d7bd8b54ab
CPU threads: 12; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 4 raal 2025-03-12 16:34:04 UTC
This seems to have begun at the below commit in bibisect repository/OS linux-64-24.8.
Adding Cc: to Mike Kaganski ; Could you possibly take a look at this one?
Thanks
 5fe97a8b73e6d9a40363866cf741563c11166b66 is the first bad commit
commit 5fe97a8b73e6d9a40363866cf741563c11166b66
Author: Jenkins Build User <tdf@maggie.tdf>
Date:   Wed Feb 14 22:01:24 2024 +0100

    source 0c96119895b347f8eb5bb89f393351bd3c02b9f1


163151: tdf#159565 prerequisite: make hidden sections have zero-height frames | https://gerrit.libreoffice.org/c/core/+/163151

After this commit is on the third page number 2.