https://bugs.documentfoundation.org/show_bug.cgi?id=153953

--- Comment #6 from judd <[email protected]> ---
Created attachment 190466
  --> https://bugs.documentfoundation.org/attachment.cgi?id=190466&action=edit
Screenshot of difference in Numbering alignment values

A short description of the bug is that the Numbering Alignment value switches
unintentionally from Left/Right to the other value when you change the Text
Direction of a Paragraph from an Unordered List. I was able to replicate this
bug using the configuration information below.

Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-PH (en_PH); UI: en-US
Calc: CL threaded

Before I was able to replicate the behavior, a prerequisite was to enable
"Complex Text Layout" so that I was capable of changing my Text Direction. I
will include its replication steps below together with how I was able to
encounter the bug.

Prerequisite steps to enable "Complex Text Layout":
1. Open LibreOffice Writer
2. In the Menu Bar at the top, select "Tools" -> then "Options" 
3. In the selection list at the left, select "Language Settings" ->  then
"Languages"
4. Make sure "Complex text layout" checkbox is enabled
5. Click "OK" button

Replication steps:
1. Open LibreOffice Writer
2. In the Formatting toolbar above, click on "Toggle Unordered List"
3. In the "Bullets and Numbering" toolbar at the bottom of the document, click
on the right most icon titled "Bullets and Numbering"
4. Go to the "Position" tab
5. In the "Numbering alignment" option, select either "Left" or "Right" value
6. Click on "OK" button
7. In the Unordered List, Type in "Hello"
8. Press Enter
9. Type in "World"
10. Change the Text Direction of the 2nd Paragraph containing "World" by
pressing (Ctrl + Shift + D) for Right-To-Left, or (Ctrl + Shift + A) for
Left-To-Right

The failure is not immediately obvious but the Numbering alignment has changed
from the selected Left/Right value to the other value after the change in Text
Direction. This can be made more obvious to the eye by quickly switching back
and forth the text direction of the 2nd Paragraph, notice the change in
position of the bullet of the list. I am attaching an image as well that
compares the 2 positions side-by-side that makes it easier to recognize the
bug.

I did some follow-up tests that are related to the bug and providing my
findings below:

1. As mentioned in an earlier comment, I am also confirming that this behavior
is happening with Ordered Lists.

2. Changing the Text Direction through the shortcut (Ctrl + Shift + D / A) or
through the buttons in the Formatting Toolbar result in the same behavior.

3. The change in "Numbering alignment" value affects the entire list. This is
more obvious with a longer list with more paragraphs (more than 2).

4. We know that when changing the Text Direction of one paragraph, this changes
the "Numbering alignment" from Left/Right to the other. When we then change the
Text Direction of a second paragraph, the "Numbering alignment" changes back
again to its original value. So the numbering alignment value alternates back
and forth depending on if the number of paragraphs that changed Text Direction
is odd or even.

5. When changing the Text Direction of a paragraph and you check the value of
the Numbering alignment inside the "Bullets and Numbering" dialog box, it
actually changes from Left/Right every time.

6. I was not able to find any information on this using the Writer Guide 7.6. I
searched for information on Numbering alignment, Text Direction, Ordered and
Unordered lists, and I did not encounter anything related to this behavior.
This does not rule out the possibility that I may have missed some information
contained in the document. The document can be found in this link:
https://documentation.libreoffice.org/en/english-documentation/

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to