Bug 141273 - Writer: line numbering in specific ODT writes that page number in footer although footer option was not set
Summary: Writer: line numbering in specific ODT writes that page number in footer alth...
Status: ASSIGNED
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: Line-Numbering
  Show dependency treegraph
 
Reported: 2021-03-26 19:16 UTC by frithjof
Modified: 2023-04-02 18:27 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
screen shot with options dlg and numbered footnote (91.65 KB, image/png)
2021-03-26 19:18 UTC, frithjof
Details
text file with commented behavior (26.32 KB, application/x-zip-compressed)
2021-03-30 17:43 UTC, frithjof
Details

Note You need to log in before you can comment on or make changes to this bug.
Description frithjof 2021-03-26 19:16:52 UTC
Description:
Adding line numbers in a writer document via the Extras->Line numbering option. Choosing options to number every fifth line, not to start on each page, NOT TO INCLUDE FOOTERS... And then it does insert a line number at each fifth line of the actual text, but also a separate line number in front of each fifth footer (!?). Footers should bee considered at all with these configs. And it is like a second numbering completely independent form the line numbering of the text body.

Steps to Reproduce:
1. Open menu Extras
2. Choose line numbering
3. in the pop-up select none of the options at the right side of dialog
4. accept and close pop-up

Actual Results:
footers get own line numbering independent from and in addition to the line numbering of the text body

Expected Results:
footers should either not be considered at all with these configurations, or be included in the line count of the text body, but surely not have their own independent numbering


Reproducible: Always


User Profile Reset: No



Additional Info:
Locale: de
Module: Writer
OS: Windows 7
OS is 64bit: yes
OpenGL: don´t know
Comment 1 frithjof 2021-03-26 19:18:54 UTC
Created attachment 170773 [details]
screen shot with options dlg and numbered footnote
Comment 2 Timur 2021-03-29 14:43:59 UTC
I don't reproduce. Are you sure that is not another page number? 
Do you reproduce with multiple documents? 
Please attach minimal sample ODT, remove personal info (all chars with x).
Comment 3 frithjof 2021-03-30 17:43:25 UTC
Created attachment 170839 [details]
text file with commented behavior
Comment 4 QA Administrators 2021-03-31 03:42:04 UTC Comment hidden (obsolete)
Comment 5 Timur 2021-03-31 08:24:09 UTC
I reproduce in 7.2+ with attached document like this:
If line numbering is set to X lines, without header and footer, number X appears every X pages in footer (test with 5 and 3). 

No repro with new document. Even in this one, delete and reapply footer corrects this. So I confirm as minor. 
We don't know how this appeared (just that ODT was last edited with LO 7.0.5) - that would be valuable.
This ODT behaves similarly all the way from OO, so inherited.
Comment 6 QA Administrators 2023-04-01 03:23:29 UTC Comment hidden (obsolete)
Comment 7 frithjof 2023-04-02 18:27:06 UTC
I can confirm, that the missbehaviour disappears once deleting and reincerting the footer.

With the original document the error remains, though.

Version: 7.5.1.2 (X86_64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 4; OS: Windows 10.0 Build 22000; UI render: Skia/Raster; VCL: win
Locale: es-ES (en_GB); UI: en-GB
Calc: CL threaded