<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 - Function-focused way to add keyboard shortcuts"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=139293">139293</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Function-focused way to add keyboard shortcuts
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.0.4.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>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Calc
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>ddascalescu+freedesktop@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=168541" name="attach_168541" title="Unintuitive how to add a shortcut">attachment 168541</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=168541&action=edit" title="Unintuitive how to add a shortcut">[details]</a></span>
Unintuitive how to add a shortcut

Tried to add keyboard shortcuts today after not doing that for several months,
so I approached the task with a beginner's mind (vs.
<a href="https://en.wikipedia.org/wiki/Curse_of_knowledge">https://en.wikipedia.org/wiki/Curse_of_knowledge</a>). The task was surprisingly
cumbersome.

What I wanted to do was to assign a keyboard shortcut to formatting text as
Strikethrough. Here are the steps I performed, logical in my mind:

1. Tools -> Customize -> Keyboard
2. There, I saw "Functions", which showed a helpful placeholder, "Type to
search"
3. I typed "strike" and found the Strikethrough function. Great so far.

Now, how do I add a keyboard shortcut to it? The Keys pane was empty. There was
no visible UI afordance to let me add a shortcut. Right clicking didn't reveal
one wither. The "Modify" button was greyed out.

At that point I was stumped in frustration for a good minute.

Later I tried the task again, and looked at the Shortcut Keys list, then
scrolled down for the desired shortcut, typed "strike" again, and the Modify
button was enabled this time.

I think this flow is a little counter-intuitive for users who think of the
function they want to assign a shortcut to first. Even if you think of the key
combo first, scrolling down to it can be a lengthy process, and you don't
necessarily know the order - is it Alt+Shift+X, or Shift+Alt+X?

My suggestion would be to keep the current flow for compatibility, but enable
the user at Step 3 above to add a shortcut by pressing it directly, for example
via an "Assign shortcut" button associated with the Keys panel. The GNOME
interface offers a good example of how to do this in System Settings ->
Keyboard Shortcuts. The user picks the function first, then they can simply
press the desired keyboard combination.</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>