Bug 136666 - Line numbering: setting for "include header/footer" is not saved in RTF document
Summary: Line numbering: setting for "include header/footer" is not saved in RTF document
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Line-Numbering
  Show dependency treegraph
 
Reported: 2020-09-11 09:04 UTC by birnbach@posteo.de
Modified: 2021-01-11 10:53 UTC (History)
3 users (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 birnbach@posteo.de 2020-09-11 09:04:31 UTC
Description:
In a document with activated line numbering, the setting for outputting line numbers in the header or footer does not get saved with the document. In a freshly opened document it is always active. 

Turning it off, saving, closing and re-opening the document has the option turned on again. 



Steps to Reproduce:
1. create document with several lines 
2. create header/footer sections as desired
3. turn on line numbering, deactivating "include header/footer"
   I typically activate options "restart on every page" and 
   "include empty lines". 
   Numbering is numerical and every 5th line is numbered.
4. save and close document
5. re-open document

Actual Results:
1. Option "include header/footer" is set to active
2. A line number "5" is shown in the footer section. 
   This is also true for an empty footer


Expected Results:
1. Option "include header/footer" is set to inactive
2. No line numbers in footer



Reproducible: Always


User Profile Reset: Yes



Additional Info:
This bug was observed in version 6.4.6 and before. 
It seemed to not occur in 7.0 but reappeared in 7.0.1.2
Comment 1 Telesto 2020-09-11 20:31:18 UTC
And again not present in
Version: 7.1.0.0.alpha0+ (x64)
Build ID: ed4f610f4a3de12016f8308a17b6ad4f86e9d67a
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 2 Dieter 2020-09-12 14:40:33 UTC
I can't comfirm with

Version: 7.0.1.2 (x64)
Build ID: 7cbcfc562f6eb6708b5ff7d7397325de9e764452
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: threaded
Comment 3 Usha 2020-10-10 02:32:45 UTC
This issue is not reproducible in latest release.


Version: 7.0.2.2 (x64)
Build ID: 8349ace3c3162073abd90d81fd06dcfb6b36b994
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 4 Dieter 2020-10-10 04:33:22 UTC
Birnbach, could you please try to reproduce it with the latest version 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. Change to RESOLVED WORKSFORME, if the problem went away. Please copy and paste also infos from Help => About LibreOffice
Comment 5 birnbach@posteo.de 2020-10-12 14:32:00 UTC
In LO 7.0.2.2, the problem seems to have gone away for ODT, DOCX and even DOC files. 

However, it is still present for RTF files.

I did no test other formats.
Comment 6 Dieter 2020-10-12 19:38:30 UTC
(In reply to birnbach@posteo.de from comment #5)
> In LO 7.0.2.2, the problem seems to have gone away for ODT, DOCX and even
> DOC files. 

=> RESOLVED WORKSFORME
Comment 7 birnbach@posteo.de 2020-11-03 14:45:23 UTC
Bug is still present when the document format is RTF.
Last tested version: 7.0.3.1
Comment 8 Buovjaga 2020-11-18 13:49:27 UTC
Not reproduced with RTF and oldest of 6.3 Linux repo, 7.0.3 and fresh master.

Step 3 should mention Tools - Line numbering

Birnbach: please attach an ODT document that reliably gives you the problem when saved as RTF.

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the document.
Comment 9 birnbach@posteo.de 2021-01-11 10:52:55 UTC
I keep seeing this problem in old RTF documents. In those cases I help myself by removing the empty footer. 

As new documents are not affected by the behaviour it seems appropriate to close this ticket.