Bug 120007 - Style is removed when clearing direct formatting of numbered list and then saving to file
Summary: Style is removed when clearing direct formatting of numbered list and then sa...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Clear-Formatting
  Show dependency treegraph
Reported: 2018-09-20 11:40 UTC by pnsaevik
Modified: 2018-10-13 12:32 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description pnsaevik 2018-09-20 11:40:58 UTC
If a list has a named style, it is removed when applying "Clear Direct Formatting". The change only appears when the file is saved and reloaded.

Steps to Reproduce:
To reproduce:

- Open LibreOffice Writer
- Turn on numbered list (F12)
- Change to a named style, such as "Text Body"
- Write two items:
    1. Test
    2. Test
- Select all text and apply "Clear Direct Formatting" (Ctrl-M)
- The style of the text appears unchanged
- Save and reload the file
- The style of the text is now "Default Style"

Actual Results:
The style of the text is removed and replaced with "Default Style"

Expected Results:
The style should be the same as before I saved the file.

Reproducible: Always

User Profile Reset: No

Additional Info:
Comment 1 Buovjaga 2018-10-13 12:32:21 UTC

Arch Linux 64-bit
Build ID: b752a93acff31c824bcec4233a8dd9bee014ca7d
CPU threads: 8; OS: Linux 4.18; UI render: default; VCL: gtk3_kde5; 
Locale: fi-FI (fi_FI.UTF-8); Calc: threaded
Built on 12 October 2018

Arch Linux 64-bit
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-