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

            Bug ID: 91131
           Summary: UI:  Crash when deleting List Style after trying to
                    create new style with same name
           Product: LibreOffice
           Version: 4.4.3.2 rc
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 115408
  --> https://bugs.documentfoundation.org/attachment.cgi?id=115408&action=edit
backtraces

Initial version:
1. New Text Document.
2. Styles and Formatting → List Styles → Right Click → New.
3. In Organiser tab, type “test” in Name and OK.
4. Styles and Formatting → Paragraph Styles → Right Click on “Heading 1” → New.
5. In Organiser tab, type “H1” in Name and OK.
6. In Outline & Numbering tab, change Outline level to “Level 1” and Numbering
style to “test” and OK.
7. In document, type “test” and apply “H1” paragraph style.
8. Styles and Formatting → List Styles → Right Click on “test”→ Delete.
9. “One or more of the selected styles is in use in this document.
If you delete these styles, text will revert to the parent style.
Do you still wish to delete these styles?
Styles in use: test” and click Yes.
Note:
“test” no longer appears in list of styles.
10. Styles and Formatting → List Styles → Right Click → New.
11. In Organiser tab, type “test” in Name and OK.
12. “This name is already in use.” and click OK and Cancel.
Note:
“test” reappears in list of styles.
13. Styles and Formatting → Paragraph Styles → Right Click on “H1” → Modify.
14. In Outline & Numbering tab, change Outline level to “Body text” and
Numbering style to “None” and OK.
15. Styles and Formatting → List Styles → Right Click on “test”→ Delete.
Result:
Crash.

After step 9, if you change to another Style Category and back to List Styles
then “test” reappears.

I thought it was because there was no parent to fall back on since you cannot
create a List Style based on another.  But then I trimmed the steps down and
excluded the style being used.

Distilled version:
1. New Text Document.
2. Styles and Formatting → List Styles → Right Click → New.
3. In Organiser tab, type “test” in Name and OK.
4. Styles and Formatting → List Styles → Right Click → New.
5. In Organiser tab, type “test” in Name and OK.
6. “This name is already in use.” and click OK and Cancel.
7. Styles and Formatting → List Styles → Right Click on “test”→ Delete.
Result:
Crash.

Tried the same (distilled) with Paragraph, Character, Frame, and Page Styles
but no crash.

Version: 4.4.3.2
Build ID: 88805f81e9fe61362df02b9941de8e38a9b5fd16

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to