Bug 140596 - Page numbering incorrect when page break with page style and number is inserted - until reopen
Summary: Page numbering incorrect when page break with page style and number is insert...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) Windows (All)
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Fields-Page-Number
  Show dependency treegraph
 
Reported: 2021-02-22 12:38 UTC by canned
Modified: 2023-05-10 18:47 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description canned 2021-02-22 12:38:13 UTC
Description:
Page numbering incorrect when a document starts from 4, for example, and a page break is inserted

Steps to Reproduce:
- Open LO
- Cursor in first line, right click, choose "Paragraph > Paragraph".
- In the popup choose tab "Textflow", select "Insert" -> With page style "Standard" -> With page number 4. Close the popup with "ok".
- In the lower left corner is now "Page 2 of 2 (Page 4)", although only 1 page exists/is visible.
- Save the document and close LO
- Open the just saved document with LO. In the lower left corner it now says "Page 1 of 1 (Page 4)".

Actual Results:
Number of pages are incorrectly indicated as 2, even though only 1 exists. If I save the document, close LO and open the document again with LO, the number of pages is given as 1, which is correct

Expected Results:
Total nNumber of pages in above example should always be specified correctly as 1


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.4.2 (x64)
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded