Created attachment 193155 [details] original list with two items and each changed by coloring Changing the (background) color of a text in a list can change the alignment of the text.
Can't confirm. Changing Highlighting via the Character... dialog or the Standard TB button, nor if removing the DF and adjusting the List style. Alignment remains, though the original list does have mixed font size (11pt Calibri from style for the leading Tab, with 8pt Calibri DF for the text entry). Version: 24.2.1.2 (X86_64) / LibreOffice Community Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded
Created attachment 193162 [details] changed list items after coloring
I uploaded the file test2 with 2 unchanged lines in the list. Then duplicated these two lines twice and coloured them. The font and size remains Calibri 8pt but the lines changed the alignment or the distance between the lines increased.
I have now tested other formatting in the test2 file by duplicating a line, double-clicking on the text and making it bold, underlined, italicized and strikethrough, all of which have the same effect. Double clicking on a changed line shows a larger field than the original.
And a further test shows that this only happens if the entire line is formatted. Formatting just one word in a line of the list works as expected.
Using the main menu Format -> Spotlight to show PS, CS and Direct formatting: All paragraphs are assigned PS of "List Paragraph", and List Style of "WWNum1". Both with font of Calibri 11 pt, the List Style from the CS "ListLabel 1". With an added 0.11" below paragraph spacing as added to the List Paragraph. However, all the list elements were entered with text Direct Formatting at 8pt. See the shift in between the last two list elements, but to me it looks like the pasted list element with color background character fill (highlight mode option is off) are picking up the WWNum1 List style with its "ListLabel 1" size of 11pt (the Hyphen (U+002D) is larger) which causes the shift. Although could also have the "List Paragraph" style below paragraph spacing assert as well. I guess there could be an issue with ww8 filter reimport mishandling DF and one of the styles, as this *is* a round trip from OOXML Word 2010 format. Setting => NEW @Miklos, Mike?