<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:kelemeng@ubuntu.com" title="Gabor Kelemen <kelemeng@ubuntu.com>"> <span class="fn">Gabor Kelemen</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Autofilter: Clicking on item name does not select the item like in Excel"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=116675">bug 116675</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>caolanm@redhat.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Autofilter: Clicking on item name does not select the item like in Excel"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=116675#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Autofilter: Clicking on item name does not select the item like in Excel"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=116675">bug 116675</a>
              from <span class="vcard"><a class="email" href="mailto:kelemeng@ubuntu.com" title="Gabor Kelemen <kelemeng@ubuntu.com>"> <span class="fn">Gabor Kelemen</span></a>
</span></b>
        <pre>I did a little more investigation into this.

In the autofilter widgets code this is handled by the ScCheckListBox (in
sc/source/ui/cctrl/checklistmenu.cxx which is derived from SvTreeListBox

Now we also have a similar derived class that can do the trick requested here:
SvxCheckListBox in svx/source/dialog/checklbx.cxx that is also derived from
SvTreeListBox
This can be still seen in Options - Writer - Compatibility - click on the name
of the compatibility option and the corresponding checkbox will be checked.

SvxCheckListBox was also used on the Options - Language Settings - Writing Aids
page until it was recently welded to use weld::TreeView instead. 
As a consequence now the "click on the items name to select it" no longer
happens there, unlike in 6.2.
Similar consequence that it is no longer possible on the Writing Aids page to
use the Space or Enter keys to select/unselect a highlighted item in the lists.

This is how far I got: it looks like SvxCheckListBox can do some tricks that
would be nice to have on the VCL level too.

@Caolán, this might interest you...</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>