<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Weird direction & alignment issues in new documents when switching to RTL"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=135350">135350</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Weird direction & alignment issues in new documents when switching to RTL
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.0.0.1 rc
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer Web
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>eyalroz@technion.ac.il
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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 <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Comprehensive support for "start" / "end" text alignment"
   href="show_bug.cgi?id=131192">bug 131192</a>). 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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>