Bug 450775

Summary: Add filters in keybindings search (for actions and bindings, modified and unassigned)
Product: [Frameworks and Libraries] frameworks-kconfigwidgets Reporter: Andrew Shark <ashark>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: nate
Priority: NOR Keywords: usability
Version First Reported In: 5.91.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: kde junk results when searching
blender separate searching actions and bindings
davinci resolve filter search by modified and unassigned
concept for kde interface search
PyCharm keymap settings window

Description Andrew Shark 2022-02-23 21:32:35 UTC
I recently saw how keybindings are made in Blender and was amazed its flexibility. Also seen keybindings dialog in Davinci Resolve. I want to see some ideas from there implemented in kde.

1. Ability to select what to search: the action or the shortcut.
In blender you can separately search for actions and for bindings. This is very useful, because currently there are lots of junk results in search by all.

2. Do not search letters in button names
Blender searches more smartly, i.e. when you type "f", it shows you keybindings with button "F", and not all the bindings with shift or F1-F12 buttons. Treat search term as button. If user wants search by Shift, he will not search f, right? If user wants F1, he will type it as "f1" or "F1". 

Another example, try to find "+" and you will see tons of shortcuts (like "Ctrl+B", yes, it has "+", but it means join of buttons), instead of only with "+" button (like "Shift++").

3. Ability to search by all/assigned/unassigned/modified shortcuts.
In Davindi Resolve I see the combobox with such filter. It will be very usefull for search in kde applications.

See screenshots below.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.24.1
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Comment 1 Andrew Shark 2022-02-23 21:34:07 UTC
Created attachment 147081 [details]
kde junk results when searching
Comment 2 Andrew Shark 2022-02-23 21:34:37 UTC
Created attachment 147082 [details]
blender separate searching actions and bindings
Comment 3 Andrew Shark 2022-02-23 21:35:13 UTC
Created attachment 147083 [details]
davinci resolve filter search by modified and unassigned
Comment 4 Andrew Shark 2022-02-23 21:35:42 UTC
Created attachment 147084 [details]
concept for kde interface search
Comment 5 Andrew Shark 2023-06-22 04:21:12 UTC
PyCharm (or other Jetbrains IDE) has even better UI for shortcuts. For shortcuts search it has a separate button, which opens a popup window. In that window you can stroke a keyboard shortcut. It even support second stroke (another shortcut right after first stroke shortcut, and you can assign an action to such complex shortcut).
Also I was amazed how easy mouse shortcuts are done. It has an area called "Mouse shortcut". Hover the mouse cursor there. Then press a modifier, for example, ctrl. And press some mouse button or scroll wheel. So you can make a "ctrl + wheel scroll up" shortcut. Also it supports double clicks.
See the attached screenshot of the PyCharm Keymap settings window.
It would be good to take some ideas from there.
Comment 6 Andrew Shark 2023-06-22 04:22:22 UTC
Created attachment 159827 [details]
PyCharm keymap settings window