Bug 160843

Summary: Page numbers do not reset
Product: LibreOffice Reporter: David <eagleview7>
Component: Writer WebAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: bjoern.michaelsen, gladys7david, ilmari.lauhakangas, miguelangelrv
Priority: medium Keywords: bibisected, bisected, regression
Version: 24.2.0.3 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By: Bjoern Michaelsen
Bug Depends on:    
Bug Blocks: 108746    
Attachments: Page number example

Description David 2024-04-27 13:31:29 UTC
Created attachment 193878 [details]
Page number example

A regression was introduced in version 24.2.0. See attached document. It works properly in version 7.6.6. The Heading 1 style is set to insert a new page break with a First Page style and to also restart the page numbering with page number one. As of version 24.2.0, the page numbers are not reset.
Comment 1 m_a_riosv 2024-04-27 23:04:59 UTC
Reproducible with
Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: default; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
and
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ea43cbbb7371a743f470d949762a0e92f196e652
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded

regression from
Version: 7.6.6.3 (X86_64) / LibreOffice Community
Build ID: d97b2716a9a4a2ce1391dee1765565ea469b0ae7
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: es-ES Calc: CL threaded
Comment 2 gladys 2024-05-09 15:43:23 UTC Comment hidden (obsolete)
Comment 3 Buovjaga 2024-05-10 05:37:40 UTC Comment hidden (obsolete)
Comment 4 gladys 2024-05-11 06:12:53 UTC
Bibisected with windows 10, version 24.2 which points to 7f85415a2f07d62bf688cb33680054940d4dd7f1 

Author:     Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org>
AuthorDate: 2023-07-30 09:01:30 +0200

commit message: move SwVirtPageNumInfo to SfxHint
              - also remove now obsolete GetInfo overrides