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

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jul 31 18:18:18 UTC 2020


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

            Bug ID: 135350
           Summary: Weird direction & alignment issues in new documents
                    when switching to RTL
           Product: LibreOffice
           Version: 7.0.0.1 rc
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer Web
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: eyalroz at technion.ac.il

Reproduction instructions:

1. Create a new (Writer) document
2. Type a word in an RTL language, e.g.  مرحبا or שלום .
3. Type a period. It will appear to the right of the word (which is as expected
for LTR)
4. Set the Default Page Style to RTL (if it isn't that already).

This sets the paragraph direction RTL, since it is inheriting from the page
style; 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 Left. It shouldn't be Left, it should switch to
Right 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 left edge of the page, instead
of moving to the right, as it should have with the direction switch

* The direction indicator has not switched to RTL, although if I switch from
the Writer window to another window, then back, the direction indicator has
switched to RTL (but the alignment has not).

5. Insert a footnote
6. Type again the same word and a period.

The footnote paragraph is also RTL-directed, left-aligned: The period appears
after word we've typed.

I am 95% certain this is a regression. Thanks to Safeer from the RTL Telegram
group for reporting this.

Experienced with:

Version: 7.0.0.0.beta2
Build ID: 1c213561a365b5666167321de68c9977500c9612
CPU threads: 4; OS: Linux 5.2; UI render: default; VCL: gtk3
Locale: en-US (en_IL); UI: en-US

-- 
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/20200731/9648bf26/attachment.htm>


More information about the Libreoffice-bugs mailing list