Bug 140433 - Can't set page numbering after title page (Writer)
Summary: Can't set page numbering after title page (Writer)
Status: RESOLVED DUPLICATE of bug 138907
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected
Depends on:
Blocks:
 
Reported: 2021-02-15 15:05 UTC by Simon
Modified: 2021-05-12 13:37 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Test doc 1 (13.42 KB, application/vnd.oasis.opendocument.text)
2021-02-15 15:06 UTC, Simon
Details
Test doc 2 (9.44 KB, application/vnd.oasis.opendocument.text)
2021-02-15 15:07 UTC, Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon 2021-02-15 15:05:35 UTC
Description:
Document with a title page loses its page number settings after being saved.

Steps to Reproduce:
1.Open file Text-1.odt
2.Scroll down to second page. Note page number is 2.
3.Do Format / Title Page
4.Set 'Reset page numbering after title page' to 0 (by deleting the 1 and entering 0 - the down arrow has no effect.)
5. OK. Note that page number has changed to 1.
6. Save and close.
7. Re-open the file.
8. Scroll down to second page. Note page number has reverted to 2. 

Actual Results:
Page numbering is not changed.

Expected Results:
Page numbering should be changed.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Is this the same bug? https://bugs.documentfoundation.org/show_bug.cgi?id=35136

I don't know if this helps, but while testing this, I created this file:

1.Open file Text-2.odt
2.Scroll down to second page. Note the page number is 1 (which is correct). Scroll down to third page. Note the page number here is also 1. No amount of changing the settings on 'Format / Title Page' seems to change this.

It is not clear to me what effect 'Set page number for first title page' on the 'Format / Title Page' dialogue box is supposed to have. I can find no explanation for this in the online Help.

Version: 7.0.4.2 (x64)
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: threaded
Comment 1 Simon 2021-02-15 15:06:56 UTC
Created attachment 169767 [details]
Test doc 1
Comment 2 Simon 2021-02-15 15:07:19 UTC
Created attachment 169768 [details]
Test doc 2
Comment 3 [REDACTED] 2021-02-16 11:31:26 UTC
Hmm -(In reply to Simon from comment #0)
> Description:
> Document with a title page loses its page number settings after being saved.
> 
> Steps to Reproduce:

> 4.Set 'Reset page numbering after title page' to 0 (by deleting the 1 and
> entering 0 - the down arrow has no effect.)

From my perspective you need to 'Reset page numbering after title page' to 1. Doing so will change the page number on page "Table Of Contents" to "1" (an that's the desired value, as far as I understand your report)
Comment 4 Simon 2021-02-16 13:56:09 UTC
Thanks for the input, but this does not work. If I change the page number to 1, then save and reopen, the page number has reverted to 2.
LO does does save the changed page number.
Comment 5 [REDACTED] 2021-02-16 14:45:43 UTC
(In reply to Simon from comment #4)
> Thanks for the input, but this does not work. If I change the page number to
> 1, then save and reopen, the page number has reverted to 2.
> LO does does save the changed page number.

It does not on my instance, that's why I commented. Tested on:

Version: 7.1.0.3 / LibreOffice Community
Build ID: f6099ecf3d29644b5008cc8f48f42f4a40986e4c
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: kf5
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 6 Xisco Faulí 2021-05-10 16:36:31 UTC
Hello Simon,
Could you please try to reproduce it with version 7.1.3.2 of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Comment 7 Simon 2021-05-10 17:30:51 UTC
Problem appears solved. Well done.
Comment 8 Timur 2021-05-12 13:28:28 UTC
commit ccfd8e9d09f9ac0a0ea92d0f378391006faaf934	[log]
author	Justin Luth <justin.luth@collabora.com>	Sat Dec 26 10:52:08 2020 +0300
committer	Justin Luth <justin_luth@sil.org>	Tue Dec 29 16:39:18 2020 +0100
tree 57867fcc0b60aece4194014bf2046a5a72e8be07
parent 764c2a9c2bfe4e2ab17a3bd21d65762a2bcfd351 [diff]

tdf#138907 sw TitlePageDlg: fix round-tripping

*** This bug has been marked as a duplicate of bug 138907 ***
Comment 9 Timur 2021-05-12 13:37:41 UTC
Commit cb99681581f099b5a4404ae55dcbeccff598c55c in 7.2 Linux bibisect.