Bug 437278 - Rebindable keys for global menu
Summary: Rebindable keys for global menu
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Menu (show other bugs)
Version: 5.21.5
Platform: Other Linux
: VLO wishlist
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-17 21:43 UTC by hiphish
Modified: 2021-06-18 04:33 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hiphish 2021-05-17 21:43:16 UTC
SUMMARY
I would like to be able to rebind the keys for navigating through the global menu. In particular I want to use vi-style keys instead of arrow keys for easier accessibility. The widget already allows users to set up a global keyboard shortcut to activate the menu, so one could add the remaining keyboard mappings there as well.

If this is not particularly hard to do I would like to give it a shot myself. I do know C++ and I should be able to pick up on QML if someone can point me towards where I need start digging in the widget code.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Void Linux
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.18_1
Comment 1 Nate Graham 2021-05-19 02:02:04 UTC
This kind of opens up a bit of a can of worms. Why just the global menu? That would be weird and inconsistent. We would want it in KRunner and Kickoff too. And QStyle-based menus as well. And list views. So in short, this ideally should be a "global vi mode navigation support" thing, and not a "support vi mode navigation in the global menu applet" thing.

But if you do that, you'll start bumping into existing behaviors where the letter keys do different things.

I question whether it is possible to do this in a clean way...
Comment 2 hiphish 2021-05-19 20:47:04 UTC
> Why just the global menu?
Unline KRunner and Kickoff the global menu does not take text input. Plasmoids which take text input would need to be made modal, and there is no need for a vi-mode in those anyway since I can just type out what I want.

> So in short, this ideally should be a "global vi mode navigation support" thing
That would indeed be a massive can of worms. I don't think that making an entire desktop environment vi-like would be a good idea either.
Comment 3 David Edmundson 2021-05-19 20:58:04 UTC
>I want to use vi-style keys instead of arrow keys for easier accessibility.

System settings -> shortcuts -> navigation -> previous item in list.

This should be followed everywhere, but I can well believe it's not.
Please reopen if it is not.
Comment 4 hiphish 2021-05-19 21:44:13 UTC
(In reply to David Edmundson from comment #3)
> System settings -> shortcuts -> navigation -> previous item in list.
This does nothing for the global menu and it requires a modifier key like Ctrl, a letter key alone cannot be used.
Comment 5 Bug Janitor Service 2021-06-03 04:33:34 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2021-06-18 04:33:40 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!