Bug 446463

Summary: Cannot assign shortcuts Alt+PgUp and Ctrl+Alt+PgUp
Product: [Applications] systemsettings Reporter: Vincent <vjciqw7p>
Component: kcm_khotkeysAssignee: Michael Jansen <kde>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.23.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Vincent 2021-12-04 09:41:08 UTC
SUMMARY
When you try to assign shortcuts Alt+PgUp and Ctrl+Alt+PgUp, PgUp key gets ignored. This is strange because PgDown works in those combinations, but PgUp appears not to get even captured.


STEPS TO REPRODUCE
1. Open custom shortcuts editor.
2. Add a new global shortcut Command/URL.
3. Go to Trigger tab and click on the button to record a shortcut.
4. Try to assign Alt+PgUp or Ctrl+Alt+PgUp.

OBSERVED RESULT
PgUp key seemingly gets ignored. For example, when you click Alt+PgUp, the button text shows "Alt+..." and appears to wait for a key press without registering PgUp.

EXPECTED RESULT
It should be possible to assign the shortcut and if it is not possible, there should be some way informing the user why this cannot be done, similarly to how you get a popup when you try to assign a conflicting shortcut.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.23
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-40-generic (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-03-04 19:41:56 UTC
As announced in https://pointieststick.com/2023/07/26/what-we-plan-to-remove-in-plasma-6/ and https://community.kde.org/Plasma/Plasma_6#Removals, I'm afraid KHotKeys has reached end-of-life in Plasma 6. Accordingly, all bug reports and feature requests for it must be closed now.

Most of what KHotKeys could do can already be done with the newer KGlobalAccel system in Plasma 6. A few features such as mouse gestures and triggering conditions based on changes to window states are not yet implemented in the new system. These will be added in the future if and when resources materialize for them, and/or when a kind soul submits patches to implement them! :) Meanwhile, the 3rd-party "Mouse Actions" app (https://github.com/jersou/mouse-actions) may be usable for implementing your own mouse gestures again.

Thanks for your understanding, everyone.