Created attachment 190430 [details] Screenshot of the issue I created a template with different indentations for paragraphs of different levels. With LibreOffice 7.6, the indentation is displayed correctly when I create a document from this template. But after closing and reopening the document, the indentation is no longer good (see attachements). I installed LibreOffice 7.5 on the same machine, there is no problem. Paragraph indentation : - Level 1 : 58 pt before the text ; 0 pt after the text ; 58 pt for the first line - Level 2 : 18 pt before the text ; -36 pt after the text ; 0 pt for the first line - Level 3 : 36 pt before the text ; 0 pt after the text ; 0 pt for the first line List style : - Level 1/2/3 : aligned at 18 pt ; Tab stop at 36 pt ; Indent at 36 pt
Please attach a demo document.
Created attachment 190432 [details] Template
Created attachment 190433 [details] File created with the template
(In reply to BogdanB from comment #1) > Please attach a demo document. No problem, I attached the template and a demo document.
Tested with the provided template: 1. Insert heading: Cyril Partie Niv 1 2. Presse Enter, insert heading: Cyril Partie Niv 2 3. Presse Enter, insert heading: Cyril Partie Niv 3 4. Save ODT, File > Reload Result: Indentation lost, all numbering aligned at -0.64 cm. Version: 7.6.2.1 (X86_64) / LibreOffice Community Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: fd69b546ad36452560cb11ccb28e78632d65f045 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded Not reproduced in: Version: 7.5.7.1 (X86_64) / LibreOffice Community Build ID: 47eb0cf7efbacdee9b19ae25d6752381ede23126 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded -> regression.
Created attachment 190450 [details] LO 24.2 No repro with Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 97b6b6b16c4b623f8a34393a906272439a7f0314 CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded
Do not repro using STR in comment 5 and starting with template.ott (attachment 190432 [details]) Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: cb46ad4c4602fbb6aeab482e9370e31495e12cfe CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: da-DK (da_DK); UI: en-US Calc: CL threaded Additional information. 1. The PS Cyril Partie Niv [1-3] in template.ott (attachment 190432 [details]) do not have any list style assigned to each paragraph style. 2. In contrast, in demo.odt (attachment 190433 [details]) each of these three PS also have a list style assigned (with same name). 3. I have not tried to track down/reproduce the details reported in OP, but I suspect there is an interaction between the PS and the List style which is also assigned to the PS. In other words: should make sure that tests with different versions are actually using the same PS setting (with or without assigned list style).
(In reply to sdc.blanco from comment #7) > Do not repro using STR in comment 5 and starting with template.ott > (attachment 190432 [details]) > > Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community > Build ID: cb46ad4c4602fbb6aeab482e9370e31495e12cfe > CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: > win > Locale: da-DK (da_DK); UI: en-US > Calc: CL threaded > > Additional information. > > 1. The PS Cyril Partie Niv [1-3] in template.ott (attachment 190432 [details] > [details]) do not have any list style assigned to each paragraph style. > > 2. In contrast, in demo.odt (attachment 190433 [details]) each of these > three PS also have a list style assigned (with same name). > > 3. I have not tried to track down/reproduce the details reported in OP, but > I suspect there is an interaction between the PS and the List style which is > also assigned to the PS. In other words: should make sure that tests with > different versions are actually using the same PS setting (with or without > assigned list style). Very strange because on my computer, with LO 7.5 and LO 7.6, each PS has a list style assigned in the template. I tried again : 1. I created a document IN LO 7.6 with the template, containing 3 paragraph formating with Cyril Partie Niv 1, Cyril Partie Niv 2 and Cyril Partie Niv3. 2. When I open the document with LO 7.6, I loose the indentation (and the PS has a list style assigned). 3. When I open the same document with LO 7.5, the indentation is good. I tried also the same manipulations but with creating the a document with LO 7.5 and the result is the same (indentation lost when I open the document with LO 7.6 but good indentation with LO 7.5).
More details : When I open the document with LO 7.5, the indentation of the paragraphs are the same as in the PS : - Level 1 : 58 pt before the text ; 0 pt after the text ; 58 pt for the first line - Level 2 : 18 pt before the text ; -36 pt after the text ; 0 pt for the first line - Level 3 : 36 pt before the text ; 0 pt after the text ; 0 pt for the first line When I open the SAME document with LO 7.6, the indentation of the paragraphs are different that in the PS : - Level 1 : 36 pt before the text ; 0 pt after the text ; -18 pt for the first line - Level 2 : 36 pt before the text ; -36 pt after the text ; -18 pt for the first line - Level 3 : 36 pt before the text ; 0 pt after the text ; -18 pt for the first line With LO 7.5 and LO 7.6, the values of position for the list in the document and in the style are the same (Level 1/2/3 : aligned at 18 pt ; Tab stop at 36 pt ; Indent at 36 pt).
I will migrate on Kubuntu 24.04 next month, so I tried LibreOffice 24.2.2. The problem still remain : I lost the indentation of the pargraphs with numerotation.
Same bibisect result as bug 159366, using linux-64-7.6 repo (build [eb5be05d1b25dfc951e83d02d7cf455e5facc5a6]): commit ade0a153f453500f15343380ac937252992733e0 author Michael Stahl Mon Feb 27 20:52:39 2023 +0100 committer Michael Stahl Tue Feb 28 15:43:40 2023 +0000 tdf#114287 xmloff: ODF import: fix text:list override of list style Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147930 Let's mark as duplicate.
*** This bug has been marked as a duplicate of bug 159366 ***