Bug 284617 - Setting KP_Home as a separate key from Home
Summary: Setting KP_Home as a separate key from Home
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_khotkeys (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Jansen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-21 13:18 UTC by Dotan Cohen
Modified: 2020-12-11 04:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dotan Cohen 2011-10-21 13:18:21 UTC
When setting custom keyboard shortcuts KDE smartly disallows setting common keys such as Home (keycode 110). However, one of the blocked keys is KP_Home (keycode 79) which does not need to be protected thus. KP_Home is activated by disabling NumLock and pressing the 7 key on the keypad. The non-NumLock keypad keys are very convenient for using as macros and multimedia keys.

Please remove the following keys from the keys protected against being redefined as shortcuts:
KP_Home (keycode 79)
KP_Up (keycode 80)
KP_Prior (keycode 81)
KP_Left (keycode 83)
KP_Begin (keycode 84)
KP_Right (keycode 85)
KP_End (keycode 87)
KP_Down (keycode 88)
KP_Next (keycode 89)
KP_Insert (keycode 90)
KP_Delete (keycode 91)

Thank you!
Comment 1 Duncan 2011-10-21 14:42:27 UTC
FWIW, here's the thread on the kde lists (gmane archive) dealing with this issue.

http://comments.gmane.org/gmane.comp.kde.general/25267

I asked about a recent xkeyboard-config bug, but it doesn't seem to be related to that.  I have the issue here too, after the xkeyboard-config patch mentioned.  With numlock off, xev says KP_Home, unshifted, KP_7, shifted, but kde's hotkey setup UI reports Home and 7.  With numlock on, xev reverses as expected (unshifted KP_Home, shifted KP_7), but kde's UI reports 7 and Shift+Home.

Where's the KP_* distinctions?
Comment 2 Justin Zobel 2020-11-11 03:58:22 UTC
Thanks for the report Dotan.

I've just tested this in systemsettings from git master and I am able to map shortcuts to those keys.

Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I'm setting status to "needsinfo" pending your response, please change back to "reported" when you respond, thanks.
Comment 3 Bug Janitor Service 2020-11-26 04:33:43 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 4 Bug Janitor Service 2020-12-11 04:34:02 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!