Bug 48582 - Numbering of headings not reliable
Summary: Numbering of headings not reliable
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
3.5.1 release
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
Depends on:
Reported: 2012-04-11 23:55 UTC by Ulrich Windl
Modified: 2014-03-25 07:50 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

Document Template (21.39 KB, application/vnd.oasis.opendocument.text-template)
2012-04-11 23:55 UTC, Ulrich Windl
Sample Document (18.87 KB, application/vnd.oasis.opendocument.text)
2012-04-11 23:57 UTC, Ulrich Windl
Sample PDF Export (75.45 KB, application/pdf)
2012-04-11 23:59 UTC, Ulrich Windl
Screen shot with manual marks showing the problem (131.46 KB, image/png)
2014-02-21 07:39 UTC, Ulrich Windl

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Windl 2012-04-11 23:55:31 UTC
Created attachment 59830 [details]
Document Template

When using a template to create a new document, and then activate numbered headings, the first heading isn't numbered. Also, when changing the paragraph style of a table heading from a (numbered) heading to a non-numbered heading, the numbering on the screen disappears, but when exporting to PDF, the heading structure is still there.

Attachments: template being used, sample document, sample PDF export
Comment 1 Ulrich Windl 2012-04-11 23:57:17 UTC
Created attachment 59831 [details]
Sample Document

Numbers for headings were enabled, table headings changed from "heading 10" (which made no sense anyway) to "table heading".
Comment 2 Ulrich Windl 2012-04-11 23:59:36 UTC
Created attachment 59832 [details]
Sample PDF Export

PDF Export has headings for the table headings that are no numbered headings anymore. The first heading is unnumbered.
Comment 3 retired 2014-01-21 10:49:34 UTC
Ulrich, can you please provide exact repro steps of how to reproduce this problem:

1. ...
2. ...
3. ...
Comment 4 retired 2014-01-21 10:49:57 UTC
Also does this issue persist with http://www.libreoffice.org/download/pre-releases/ ?
Comment 5 Ulrich Windl 2014-01-21 11:59:44 UTC
On comment #3:

After loading the sample document you'll see three times "<Geben Sie hier den Tagesordnungspunkt ein>". The first one has no number, but the others have one. All those paragraphs use the same paragraph style (Überschrift 1). The same is true for "Ergebnise" (first ocurrence unnumbered, the others numbered).
I could not reproduce the other issue with PDF export, and I cannot remember any details after almost two years.
Comment 6 bfoman (inactive) 2014-02-20 18:11:50 UTC
This bug was never confirmed - NEEDINFO>UNCONFIRMED.
Comment 7 Ulrich Windl 2014-02-21 07:39:24 UTC
Created attachment 94480 [details]
Screen shot with manual marks showing the problem

Writer being used was libreoffice-writer- of openSUSE 12.3 on x86.
Comment 8 sophie 2014-03-24 15:03:31 UTC
Opening your document, I can see that the numbering is not apply to the first item, but I can't reproduce with a new document I created the same way with placeholders. Also you said using a template, but your document is not a template i.e it's not an .ott. Do you always use the same document that you clear each time?
Version Version:
Build ID: 3d4fc3d9dbf8f4c0aeb61498a81f91c5b7922f13 Ubuntu 13.10 - Sophie
Comment 9 Ulrich Windl 2014-03-25 07:36:39 UTC
Sorry, I don't have that ott at hand, and you are right, for convenience I reused one document to create similar documents, and I was not able to reproduce with a more current version than the one originally reported against. So let us assume the problem is fixed in the meantime. If it re-appears, I'll reopen.
Comment 10 sophie 2014-03-25 07:50:59 UTC
Hi Ulrich, Thanks for your feedback. I think your document get corrupted over time, may be when clearing it, you removed some formatting without noticing. For that sort of document, try to use an .ott, this way you make sure that you don't touch the structure of your document and start always with a clean one. 
Closing for now as worksforme - Sophie