Bug 89703 - Writer loses outline numbering after HTML file save
Summary: Writer loses outline numbering after HTML file save
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: (X)HTML-Export
  Show dependency treegraph
 
Reported: 2015-02-27 01:42 UTC by Brian Piccioni
Modified: 2022-05-09 09:42 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
sample document showing the bug (20.68 KB, text/html)
2015-02-27 19:28 UTC, Brian Piccioni
Details
Can't open Tools Outline Numbering menu item (198.49 KB, image/png)
2015-02-27 19:36 UTC, Brian Piccioni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Piccioni 2015-02-27 01:42:48 UTC
This is an annoying bug. Which seems to be associated with HTML documents.

I created heading 3 style with numbering. I set Tools, Outline Numbering to 1,2,3 with after )<space>. 

Everything works fine until I close the file. When I reopen, already numbered Heading 3 styles are fine, but if I create a new line the number is missing.

1) First heading
2) Second heading
Third heading created after file close.

If I go to Outline Numbering for Heading 3 it is reset to default (no numbering). If I reconfigure it I now get

1) 1) First heading
2) 2) Second heading
3) Third heading created after file close.

and I have to manually remove the extra 1), 2), etc..

Thereafter, everything works fine until I close and reopen the file. I have tried to duplicate with with a "clean file" but the Outline Numbering menu item is no longer available.
Comment 1 Octavio Alvarez 2015-02-27 02:32:26 UTC
I'd like to attempt to reproduce it but I prefer to follow the exact same steps as you. Can you describe the exact steps in order to reproduce? Thanks.
Comment 2 Joel Madero 2015-02-27 05:53:01 UTC Comment hidden (obsolete)
Comment 3 Brian Piccioni 2015-02-27 19:28:18 UTC
Created attachment 113762 [details]
sample document showing the bug

Attached please find a document which always has this problem. I will resubmit it after "fixing" missing numbering.

I use Heading 3 style and set Tools Outline Numbering to 1,2,3,4 and ) (") ") after. I change lines to Heading 3 with <ctlr> 3. As I add more Heading 3s they are correctly numbered. 

I then save and close the document (it has to be closed). When I reopen, everything looks OK. If I add another Heading 3 line, it is not numbered. If I go to Tools Outline Numbering, it has been reset to the defaults. If I set it back to 1,2,3,4 and ) (") ") after, my "new" Heading 3 line is numbered correctly, but now all the previously numbered now show (for example) 1) 1) This is a heading, 2) 2) This is another heading. 


I have discovered a workaround: I turn off number through Tools Outline Numbering before closing it, at least that way I do not have to manually delete the extra 1), 2), etc.
Comment 4 Brian Piccioni 2015-02-27 19:36:04 UTC
Created attachment 113763 [details]
Can't open Tools Outline Numbering menu item

I promised to show an updated (post bug) version of the document, however, I can no longer open Tools Outline Numbering in the menu anymore even though I am in Print Layout View. This is a new development I encountered when attempting to create a clean document to show the bug and now it has affected my sample document as well. I don't know how to get back the Tools Outline Numbering menu item.

Nonetheless, in my other documents I was able to access the Tools Outline Numbering menu item, leading to the problem as described 

1) 1) First Heading 3
2) 2) Second Heading 3
3) The Heading 3 item added after closing and reopening the document.
Comment 5 Brian Piccioni 2015-03-04 12:49:54 UTC Comment hidden (no-value)
Comment 6 Buovjaga 2015-03-15 15:45:10 UTC
Opened attachment 113762 [details].
Added new paragraph and made it Heading 3.
No numbering appears.

Win 7 Pro 64-bit, LibO Version: 4.4.1.2
Build ID: 45e2de17089c24a1fa810c8f975a7171ba4cd432
Locale: fi_FI

Version: 4.5.0.0.alpha0+
Build ID: 16b8fbb2e0c72ce321c9f569284f4ef37339af2c
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2015-03-10_09:56:13
Locale: fi_FI

Ubuntu 14.10 64-bit 
Version: 4.4.1.2
Build ID: 40m0(Build:2)
Locale: en_US

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 7 tommy27 2016-04-16 07:29:09 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2017-05-22 13:27:42 UTC Comment hidden (obsolete)
Comment 9 Timur 2020-05-06 12:50:18 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2022-05-07 03:33:18 UTC Comment hidden (obsolete)
Comment 11 Timur 2022-05-09 09:42:09 UTC
Repro 7.4+.