<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 - Page style direction change not applied to toolbar direction buttons"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=134166">134166</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Page style direction change not applied to toolbar direction buttons
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.4.2.2 release
          </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>minor
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Writer
          </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:

(I'm using LO writer with a Hebrew locale and English UI, not sure if that
matters.)

1. Create a new document.
2. Sanity check: your paragraph style should be Default Paragraph Style; your
paragraph style's direction should be inherit (i.e. "use superordinate object
settings"); your page style should be Default Page Style.
3. Enter one word in an RTL language and another in an LTR language, e.g. "שלום
Hello" (without the parentheses).
4. Place the cursor within that first paragraph.
5. Sanity check: Toolbar direction buttons have the same direction pressed as
the Default Page Style's direction setting.
6. Switch the Default Page Style's direction setting (i.e. if it was LTR make
it RTL and vice-versa)

Result: 

* Word order is switched - indicating that the paragraph style has switched.
* Toolbar direction buttons unchanged! Same button is pressed as was before.
* If you re-place your cursor (e.g. click somewhere else within that first
paragraph, direction buttons get updated to correct setting.



PS - This bug made me mistakenly believe that inherited-paragraph-direction was
not inherited from the page style settings... (<a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - No way to set a document's overall direction"
   href="show_bug.cgi?id=133816">bug 133816</a>).</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>