[Libreoffice-bugs] [Bug 135350] Weird direction & alignment issues in new documents when switching to RTL

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Aug 4 20:59:17 UTC 2020


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

Eyal Rozenberg <eyalroz at technion.ac.il> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #3 from Eyal Rozenberg <eyalroz at technion.ac.il> ---
Let me clarify the reproduction instructions in case your default page style
(and paragraph style) is RTL:

1. Create a new Writer document (where the default paragraph style is RTL, or
alternatively, it's Inherit, and the default page style is RTL); the cursor
should be at the right edge at the first line at the top of the page.
2. Type a word in an LTR language, e.g. "hello" (no quotes).
3. Type a period. It will appear to the left of the word (which is as expected
for an RTL paragraph).
4. Set the Default Page Style to LTR, or if the default paragraph style is not
Inherit, set it to LTR.

This sets the paragraph direction LTR; and the period now shows to the _left_
of the word we've typed.

At this point we observe two issues:

* The paragraph alignment is Right. It shouldn't be Right, it should switch to
Left when its direction switches. (Of course, it should actually be neither
Left nor Right but Start, but we don't have that option for alignment at the
moment; see bug 131192). So the text is at the right edge of the page, instead
of moving to the left, as it should have with the direction switch.

* The direction indicator has not switched to LTR, although if you switch from
the Writer window to another window, then back, the direction indicator may
switch to LTR (while the alignment does not).

5. Insert a footnote
6. Type again the same word and a period ("hello.")

The footnote paragraph is also LTR-directed, Right-aligned: The period appears
after the word we've typed - to its right; but the entire footnote is on the
right side of the page.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200804/38efc4ae/attachment.htm>


More information about the Libreoffice-bugs mailing list