Bug 161624

Summary: indenting and margin setting affect whole document in LibreOffice Writer
Product: LibreOffice Reporter: Larry Koenigsberg <larryk>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: larryk, vsfoote
Priority: medium    
Version: 24.2.3.2 release   
Hardware: All   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: An essay in which indenting any paragraph indents the whole document.

Description Larry Koenigsberg 2024-06-17 22:14:18 UTC
Description:
LibreOffice Writer documentation suggests ways to indent a single paragraph: using the paragraph dialog box under the Format drop-down menu; using the ruler settings. These affect the entire document, whether or not the desired paragraph is selected [highlighted].

Steps to Reproduce:
1. Place cursor on desired paragraph, whether the paragraph is not highlighted at all or completely highlighted.
2. Use any specified method of indenting the left margin of the paragraph: Format/Paragraph or the horizontal ruler at the top of the page.

Actual Results:
The entire document's left margin moves per user action on the one paragraph.

Expected Results:
The left margin of the paragraph indicated by cursor or highlighting should move per user command.  The rest of the document's left margin should be unchanged.


Reproducible: Always


User Profile Reset: No

Additional Info:
Indenting Paragraphs
You can change the indents for the current paragraph, or for all selected paragraphs, or for a Paragraph Style.

Choose Format - Paragraph - Indents & Spacing to change the indents for the current paragraph or for all selected paragraphs. You can also set indents using the ruler.

Right-click a paragraph and choose Paragraph - Edit Style - Indents & Spacing tab to change the indents for all paragraphs that have the same Paragraph Style.
Comment 1 V Stuart Foote 2024-06-17 23:38:35 UTC
Can not confirm. Paragraph DF control of indentation applies to specific PS. Or modifying/duplicating a PS and adjusting indentation applies to each paragraph using the new style.

Adjustments to the ruler indentation stops for the new PS apply only to paragrpahs using the new PS.

While adjustments to ruler indentation stops for a default PS apply to *all* paragraphs using that style, even though DF has been applied.

That is all as expected.

=> WFM

Version: 24.2.3.2 (X86_64) / LibreOffice Community
Build ID: 433d9c2ded56988e8a90e6b2e771ee4e6a5ab2ba
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 2 Larry Koenigsberg 2024-06-20 02:00:51 UTC
Created attachment 194840 [details]
An essay in which indenting any paragraph indents the whole document.

The investigator could not reproduce the bug I identified.  The attached document is the one in which I encountered this bug.
Comment 3 V Stuart Foote 2024-06-20 11:06:18 UTC
Two issues, the essay is three paragraphs. In Default Paragraph Style with DF applied to the Title and Subtitle. The rest is a single paragraph with line break separators.

As it all is in "Default" paragraph style, applying an indent to the style is applied against all. While applying Direct Formatting DF indentation to some portion of the single essay paragraph applies against the whole paragraph.

The essay would need to be split out as individual paragraphs. And better to use a style, or styles, for each of the titles and the essay body rather than DF.