Bug 151036 - Writer: Manual page break adds extra spurious page count
Summary: Writer: Manual page break adds extra spurious page count
Status: RESOLVED DUPLICATE of bug 150913
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
Depends on:
Reported: 2022-09-17 21:24 UTC by AndrewB
Modified: 2022-09-17 23:38 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description AndrewB 2022-09-17 21:24:17 UTC
Page count is incorrectly indexed by 1

Steps to Reproduce:
1. Create a new doc, [insert Field>Page count]
2. insert More Breaks>Manual Break>Page Break>check Change Page Number. 
Insert or check Page Number. 

Actual Results:
Page Count shows "3" but only 2 pages exist.
If alternatively a 'standard' Ctrl+Enter is set it correctly displays 2.

Expected Results:
Display "2"

Reproducible: Always

User Profile Reset: No

Additional Info:
Build ID: 1:6.4.7-0ubuntu0.20.04.4
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3; 
Locale: en-GB (en_GB.UTF-8); UI-Language: en-GB
Calc: threaded
Comment 1 m_a_riosv 2022-09-17 23:38:51 UTC

*** This bug has been marked as a duplicate of bug 150913 ***