Bug 39103 - VIEWING: (unexpected) loss of chapters numbering not shown
Summary: VIEWING: (unexpected) loss of chapters numbering not shown
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.3 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-09 14:55 UTC by Cyril
Modified: 2017-04-30 10:27 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
End of step 6 state document (9.91 KB, application/vnd.oasis.opendocument.text)
2011-07-09 14:55 UTC, Cyril
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cyril 2011-07-09 14:55:15 UTC
Created attachment 48926 [details]
End of step 6 state document

My user analysis:
-----------------

I assume an initialization missing somewhere in "Paragraph Style" dialog box validation after tab "Outline & Numbering" modification of "Outline Level" without "Numbering Style".


How to reproduce the bug:
-------------------------

On Linux Mandriva x86 and Windows XP x86:
1. create a new empty Writer document
2. enter text "Intro" and chose "Heading" style
3. enter text "Chap" and chose "Heading 1" style
4. select Format-Bullets and Numbering...-Outline-1 / 1.1 / 1.1.1 / 1.1.1 / 1.1.1.1 / ... --> "Chap" becomes "1 Chap" --> ok
5. insert a Table of Contents (Insert - Indexes and Table - Indexes and Tables... - Outline)

Expected = Obtained:
6. summary table contains only one title "Table of Contents" + one entry: "1 Chap .... 1"

Now, I want "Into" to be in Table of Contents:
7. style "Heading" - right click - Modify... - Outline & Numbering - Outline Level set to "Level 1" + OK
8. update Index/Table

Expected seems to be = Obtained:
9. summary table contains one title "Table of Contents" + two entries: "Intro .... 1" + "1 Chap .... 1"
But:
10. Save document
11. Quit writer
12. Open document --> chapter "1 Chap" becomes "Chap" !!!


How to work around the bug:
---------------------------

instead of previous step 7, use:
7a. style "Heading" - right click - Modify... - Outline & Numbering - Outline Level set to "Level 1" + Numbering Style set to "Numbering 1" + OK
7b. update Index/Table
7c. style "Heading" - right click - Modify... - Outline & Numbering - Numbering Style set to "None" + OK
...
12. open document --> chapter "1 Chap" stays "1 Chap"

---> okay, a work around exists, but when you don't know the bug, you discover it after saving / reloading your document... and then, where is no possible work around !!!
(yes, I found one: copy - paste in text mode, and set again all styles in the document... very boring!).
Comment 1 Jeffrey 2011-07-10 22:46:26 UTC
Failed to reproduce error on LibreOffice 3.4  340m1(Build:12) for OpenSuse KDE. 

Downloaded attachments, followed steps 7 to 12. See no difference. Possibly fixed in the new release? Can anyone else confirm?

Just for clarity: I presume 7. -> Format -> Styles and formatting.
Comment 2 Cyril 2011-07-11 15:10:23 UTC
(In reply to comment #1)
> Just for clarity: I presume 7. -> Format -> Styles and formatting.

No, 7. --> Style (F11), right-clic on "Heading" style, select modify...

It's a style modification, not a paragraph modification. 

I'd just repeat your action, modifying only paragraph on 3.3.3, and the bug did not occur on Win XP.
Could you try again with this precision on style's paragraph modification?
Comment 3 Björn Michaelsen 2011-12-23 12:22:23 UTC Comment hidden (obsolete)
Comment 4 sasha.libreoffice 2012-03-01 03:11:23 UTC
@ Cyril
Thanks for bugreport
Please, verify: in last version of LibreOffice still reproducible?
Comment 5 Florian Reisinger 2012-08-14 13:58:30 UTC Comment hidden (obsolete)
Comment 6 Florian Reisinger 2012-08-14 13:59:46 UTC Comment hidden (obsolete)
Comment 7 Florian Reisinger 2012-08-14 14:04:23 UTC Comment hidden (obsolete)
Comment 8 Florian Reisinger 2012-08-14 14:06:34 UTC Comment hidden (obsolete)
Comment 9 Cyril 2012-08-19 07:26:30 UTC
Sorry for this quite late response.

I'd just confirm again the bug with LibreOffice Writer 3.5.5.3 and reopen it.
Comment 10 Rainer Bielefeld Retired 2012-08-20 05:36:17 UTC
To be honest, I do not know how how that Numbering should wor, but definitively the document should look identical the the view before saving (after 'Update all')  when I reopen it 

Here I see: 
1. Open reporter's  "2End of step 6 state document"
2. Select word "Intro"
3. <f11>
   > Styles Pane appears, "Heading" selected
4. In Styles Pane 'right click "Heading" -> Modify -> Outline & Numbering - 
   Outline - Level-> "Level 1" <OK>
5. Menu 'Tools -> Update -> All'
   As Expected, Headings "Intro" and "1 Chap" are visible as Headings and in
   TOC
6. Save under new name, close, Reopen
   Expected: Headings "Intro" and "1 Chap" are visible as Headings and in TOC
   Actual: Most as expected, but heading  "1 Chap" now shown as  "Chap"
           (But still  "1 Chap" in TOC)

Unexpected VIEWING has nothing to do with FILESAVE or FILESAVE. Instead of 
Step 6 you can do 
6a: <control+a> to select all
7. <Control+c> for copy
8. Menu 'File -> New -> Writer document'
   > New blank Document appears
9. Click into new document
10. <Control+v> for paste
   Expected: looks as in Step 6 before close with heading "1 Chap"
   Actual: looks as in Step 6 after reopen with heading "Chap"

My suspect is that the buggy behavior here only is a side effect of "Bug 53822 - VIEWING: Heading 1 outline numbering no longer shown after modification of Heading outline style"

@Cyril
It is rather useless to reopen a bug what has been closed from Status NEEDINFO without contributing new info.

I think the core problem is that the  Numbering is not shown in Heading (but correctly in TOC), for this problem I submitted

@Cédric:
Please set Status to ASSIGNED and add yourself to "Assigned To" if you accept this Bug
Comment 11 Cyril 2012-08-20 20:23:37 UTC
ok, Thanks!
Comment 12 Cédric Bosdonnat 2014-01-20 08:57:29 UTC
Restricted my LibreOffice hacking area
Comment 13 Joel Madero 2015-05-02 15:42:16 UTC Comment hidden (obsolete)
Comment 14 Buovjaga 2015-06-20 15:27:47 UTC
Not reproduced from scratch per desc. Stays as 1 Chap when reloading.

WFM.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 3ecef8cedb215e49237a11607197edc91639bfcd
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-06-19_23:16:58
Locale: fi-FI (fi_FI)
Comment 15 Cyril 2017-04-30 10:27:26 UTC
Not reproduced with LO 5.0.6.2 and Ubuntu Studio 15.10 64 bits.
Thanks to all!