Bug 92762 - WRITER paragraph with list style is different from paragraph style + separate list style
Summary: WRITER paragraph with list style is different from paragraph style + separat...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.1.2 release
Hardware: Other All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 145318 (view as bug list)
Depends on: 114287
Blocks: Writer-Styles-Paragraph
  Show dependency treegraph
 
Reported: 2015-07-15 10:16 UTC by Philippe Jung
Modified: 2024-07-27 14:02 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Jung 2015-07-15 10:16:39 UTC
In writer.

Case 1:
type a two lines text.
apply list 1 style from "Paragraph styles" in Styles & Formatting sidebar.
apply list 1 style from "List styles" in Styles & Formatting sidebar.
go back on Paragraph styles
Right click on List 1, select Modify
Go to Indents & Spacing tab
Change Before text to 2 " and first line to - 1 "
Click apply
=> Nothing happens

Case 2:
type a two lines text.
apply list 1 style from "Paragraph styles" in Styles & Formatting sidebar.
Right click on List 1, select Modify
go to Outline & Numering tab
Select List 1 in Numbering style
Go to Indents & Spacing tab
Change Before text to 2 " and first line to - 1 "
Click apply
=> Text is moved

Both situation apply the same styles: List 1 (paragraph) and List 1 (list)
So both should produce the same result.
Personnal point of view : I prefer case 2 result.
Comment 1 Buovjaga 2015-07-29 18:35:35 UTC
Unable to locate list 1 style from "Paragraph styles"
Comment 2 Buovjaga 2015-07-29 18:38:19 UTC
Ok, should have searched deeper: it is under Text body parent style and List.
Reproduced.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+ (x64)
Build ID: e92a8b92072284fd7c37d7bb3e1e8fe72a185f35
TinderBox: Win-x86_64@62-TDF, Branch:MASTER, Time: 2015-07-22_21:46:26
Locale: fi-FI (fi_FI)
Comment 3 QA Administrators 2016-09-20 10:21:26 UTC Comment hidden (obsolete)
Comment 4 Regina Henschel 2017-12-09 15:58:37 UTC
The problem still exists. I track related issues in bug 114287.
Comment 5 Regina Henschel 2017-12-31 19:11:16 UTC
The relevant part of the specification is in section 17.20 <style:list-level-label-alignment>
<quote>
The fo:text-indent and fo:margin-left attributes are evaluated only for paragraphs inside list items whose paragraph styles do not specify them. If one of the two properties, or both, are specified by the paragraph style, the text indent and/or left margin are taken from the paragraph style. In this case the paragraph style's properties are used to determine the indent and margin for the text lines and thus also the alignment position.
</quote>
Comment 6 QA Administrators 2019-04-05 02:59:30 UTC Comment hidden (obsolete)
Comment 7 Regina Henschel 2021-12-07 19:20:56 UTC
The problem still exists in Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 4ac9032163cf55c160145373e7c41741c9c339ca
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL
Comment 8 Regina Henschel 2021-12-07 19:42:25 UTC
*** Bug 145318 has been marked as a duplicate of this bug. ***
Comment 9 QA Administrators 2023-12-08 03:15:07 UTC Comment hidden (obsolete)
Comment 10 Philippe Cloutier 2024-07-27 14:02:52 UTC
Please provide numbered reproduction steps and clarify the "apply list 1 style from "List styles" in Styles & Formatting sidebar." step. I could not reproduce.

It would clarify a lot to provide a screencast or at least screenshots.