<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:thomas.lendo@gmail.com" title="Thomas Lendo <thomas.lendo@gmail.com>"> <span class="fn">Thomas Lendo</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - UI: Closing a style dialog by pressing OK changes the focus in the styles sidebar to the active style where the cursor stands"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=133206">bug 133206</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;">CC</td>
           <td>
                
           </td>
           <td>libreoffice-ux-advise@lists.freedesktop.org, thomas.lendo@gmail.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Summary</td>
           <td>UI: Closing a dialog by pressing OK changes the focus in the style dialog to  Default paragraph style
           </td>
           <td>UI: Closing a style dialog by pressing OK changes the focus in the styles sidebar to the active style where the cursor stands
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Blocks</td>
           <td>
                
           </td>
           <td>107326
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - UI: Closing a style dialog by pressing OK changes the focus in the styles sidebar to the active style where the cursor stands"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=133206#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - UI: Closing a style dialog by pressing OK changes the focus in the styles sidebar to the active style where the cursor stands"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=133206">bug 133206</a>
              from <span class="vcard"><a class="email" href="mailto:thomas.lendo@gmail.com" title="Thomas Lendo <thomas.lendo@gmail.com>"> <span class="fn">Thomas Lendo</span></a>
</span></b>
        <pre>This is a general question how to solve such things and what do users expect.

First, the behavior is not consistent between style types and LibO components.
I could reproduce this issue with Calc and Draw a few times but very rare. Also
in Writer it's not always true.

Second, the focus moves to the style that is active for the text/object where
the cursor stands. If your cursor is in a text that is formatted with paragraph
style Endnote and character style Emphasis and you edit another
paragraph/character style, then the focus goes back to Endnote (paragraph) or
Emphasis (character) style in the styles sidebar.

This isn't bad by design as this is the normal behavior of the styles sidebar
items: highlighting the style where the cursor stands. This could be changed
to: If the user selects another style (by right or left mouse click or
keyboard) then this style should be selected until the user selects another
style or the user changes the cursor position. Then the style will be selected
in the styles sidebar that corresponds with the text/object.

Ideally this behavior should be the same in all LibO components.</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [META] Writer style bugs and enhancements"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107326">Bug 107326</a>] [META] Writer style bugs and enhancements
              </li>
          </ul>
        </div>
        <br>

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

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