Bug 39103

Summary: VIEWING: (unexpected) loss of chapters numbering not shown
Product: LibreOffice Reporter: Cyril <cgiraud>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: jeffdchang, LibreOffice, reisi007, sasha.libreoffice, yfjiang
Version: 3.3.3 release   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: End of step 6 state document

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
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
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
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 6 Florian Reisinger 2012-08-14 13:59:46 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 7 Florian Reisinger 2012-08-14 14:04:23 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 8 Florian Reisinger 2012-08-14 14:06:34 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
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

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.