<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:eyalroz@technion.ac.il" title="Eyal Rozenberg <eyalroz@technion.ac.il>"> <span class="fn">Eyal Rozenberg</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Weird direction & alignment issues in new documents when switching to RTL"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=135350">bug 135350</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>UNCONFIRMED
           </td>
           <td>NEW
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Ever confirmed</td>
           <td>
                
           </td>
           <td>1
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Weird direction & alignment issues in new documents when switching to RTL"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=135350#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Weird direction & alignment issues in new documents when switching to RTL"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=135350">bug 135350</a>
              from <span class="vcard"><a class="email" href="mailto:eyalroz@technion.ac.il" title="Eyal Rozenberg <eyalroz@technion.ac.il>"> <span class="fn">Eyal Rozenberg</span></a>
</span></b>
        <pre>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 <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 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.</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>