https://bugs.documentfoundation.org/show_bug.cgi?id=148290

Luke Kendall <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |normal

--- Comment #6 from Luke Kendall <[email protected]> ---
Okay, so it's a definite bug, but I doubt it's going to be reproducible. 
Here's what happened.

The bug occurred because I created a new paragraph style based on Heading 1,
called Chapter Title.
I changed the Outline & List's Apply List Style to WWNum3 and then did Edit
Style of WWNum3:
In its Customize tab I made sure the Level was 1, Number was 1,2, 3, ...;
Before: was set to "Chapter ", After: was set to " <emdash> ", saw the Preview
looked correct, and hit OK.
In the Paragraph Style panel I also hit OK.
I did a Find & Replace and Find All to change all Heading 1 paragraphs to
Chapter Title.
A minority of such paragraphs formatted correctly. Most appeared without the
Before: or After: text included. Most had no numbering applied at all.
I copied the text into a new file, removed the bulk of it, checked the
Paragraph Style of Chapter Title was defined as I wished, and then in the
sample document confirmed that the same problem occurred.
I did Update Index on the TOC and saw the erroneous chapter title text
reproduced in the TOC, so that was consistent.

Today I opened the sample document and saw the Chapter Title paragraph style
was set to Apply List Style = None. That was very strange, as that was
definitely not what it was set to when I saved it.  I changed the style back to
what it had been when I saved it: WWNum3. The chapter titles all changed to be
correctly numbered and correct text included.

The still-open original document still had the same errors as reported here. I
confirmed that the Apply List Style and its settings were set as I wanted, just
as described above. I tried changing Apply List Style to None: it made no
difference. I changed it to WWNum3: it made no difference.  I changed it back
to None.

I then closed the file and reopened it, without exiting Writer.

I changed the Apply List Style back to WWNum3, and then all the chapter
headings changed to the correct values, matching what I had set it to.

So Writer got into some strange state where the paragraph style would not take
effect, but closing the file and reopening it, after changing the Apply List
Style to None, and then to what you want, is a workaround for the bug, so I can
get the result I need.
I've changed the bug to Normal from Major as a result.

I suspect it will be extremely difficult to reproduce or track down this bug,
but at least this report will record it and how to work around it if it happens
to someone else.

Hope this extra detail helps. Thanks for clarifying what info you needed.

Note that in the AskLibreopffice link, above, it refers to "Outline &
Numbering" for what is now called "Outline & List".

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to