Bug 142766

Summary: PARAGRAPH STYLE: Indent of selected paragraph (with paragraph style Heading 1) not rendered after "Update Selected Style"
Product: LibreOffice Reporter: mail2.0
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: dgp-mail
Priority: medium    
Version: 5.4.7.2 release   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107833, 113546    

Description mail2.0 2021-06-10 13:32:39 UTC
Description:
Heading paragraph indent disappears after updating its paragraph style from selection.

Steps to Reproduce:
1. create a new text document
2. insert some text, e.g. "abc"
3. apply "Heading 1" style to the text (e.g. select from the formatting toolbar)
4. increase the left paragraph indent (e.g. from the ruler, drag the bottom left triangle to the right)
5. click "Update Selected Style" (Ctrl+Shift+F11, or e.g. from the formatting toolbar)

Actual Results:
The indent selected in step 4. disappears (i.e. is reset to default zero, which is also reflected by the position of the left triangles on the ruler)

Expected Results:
The indent selected in step 4. should remain in effect


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Applies to:
* Affects all heading styles "Heading 1" to "Heading 10"
* Only affects selected paragraphs; all other paragraphs in the same Heading style are updated and rendered correctly with the indent selected in step 4
* Once the render deficiency is in effect, it persists even after applying other paragraph styles

Remedies:
* save and close, then reopen the document, OR
* "Toggle Bullet List" (Shift+F12) twice on the affected paragraph

Version: 7.1.3.2 (x64) / LibreOffice Community
Build ID: 47f78053abe362b9384784d31a6e56f8511eb1c1
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded
Comment 1 Dieter 2021-06-25 06:41:18 UTC
I confirm it with

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 949658028e722e5d2657b503eb20e16e41dbd8cf
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

and also with

Version: 5.4.7.2 (x64)
Build-ID: c838ef25c16710f8838b1faec480ebba495259d0
CPU-Threads: 4; BS: Windows 6.19; UI-Render: GL; 
Gebietsschema: de-DE (de_DE); Calc: CL

Steps to make problem more visible
1. create a new text document
2. Add at least two paragraphs with some text, e.g. "abc"
3. apply "Heading 1" style to all paragraphs
4. increase the left paragraph indent of all paragraphs (e.g. from the ruler, drag the bottom left triangle to the right)
5. Select one paragraph and click "Update Selected Style" (Ctrl+Shift+F11, or e.g. from the formatting toolbar or the sidebar)

Actual result:
Indent setting in paragraph style changes (expected), indent of selected paragraph is removed (not expected), indent of the other paragraphs remain (expected)

Additional informations:
Haven't tested with other styles or with other style settings
Comment 2 QA Administrators 2023-06-28 03:13:06 UTC Comment hidden (obsolete)
Comment 3 Tammy 2023-07-02 18:43:37 UTC
It is still reproducing in:
Version: 7.5.4.2 (X86_64) / LibreOffice Community
Build ID: 36ccfdc35048b057fd9854c757a8b67ec53977b6
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: es-MX (en_US); UI: en-US
Calc: threaded

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: c7d202a61f9ce81b76b29e61252c23aa66daff07
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded