Bug 399708 - Numpad moves cursor even if disabled
Summary: Numpad moves cursor even if disabled
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_accessibility (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Gunnar Schmidt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-12 11:25 UTC by Miguel S. de la Rosa
Modified: 2024-01-27 00:37 UTC (History)
5 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 Miguel S. de la Rosa 2018-10-12 11:25:27 UTC
SUMMARY

Even when the option for moving the cursor (mouse) is disabled, after a restart ot a logout it resets back to enabled

STEPS TO REPRODUCE
1. Tap any arrow keys on the numpad
2. Open mouse settings on the System Settings
3. Check the box that enables moving the mouse with the numpad and then uncheck it
4. Now pressing those keys doesn't move the cursor
5. Restart the system or logout and upon login this setting resets even though in the mouse settings under System settings the option to move the cursor with numpad is disabled

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: Latest on both Manjaro and Kubuntu
KDE Frameworks Version: Latest on both Manjaro and Kubuntu
Qt Version: Latest on both Manjaro and Kubuntu

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-03-20 03:51:59 UTC
Is this still happening in Plasma 5.21?
Comment 2 damoishere 2021-07-28 07:47:38 UTC
Not sure if this is still open but I have the same problem on Plasma 5.22.3 (Tested both on Kubuntu 21.04 and Manjaro KDE)

OBSERVED RESULT:

Typing on the numpad does not enter any characters regardless of numlock being on or off. Instead the cursor moves on the screen.

Current workaround:
1. Go to System Settings -> Accessibility -> Mouse Navigation
2. Check "Use number pad to move cursor" and apply
3. Uncheck "Use number pad to move cursor" and apply
Now everything works as expected until the next reboot. After reboot the problem repeats.

EXPECTED RESULT:
Enter characters if numlock is deactivated.

SOFTWARE VERSIONS
KDE Plasma 5.22.3
Manjaro KDE and Kubuntu 21.04
Comment 3 Lukas 2022-10-31 22:14:02 UTC
Hello, I'm experiencing the exact same bug.

This is an old bug. I already struggled with this a few years ago.

I've hotfixed it by executing `setxkbmap -option keypad:pointerkeys` in a terminal according to [this forum thread]( https://forum.kde.org/viewtopic.php?t=106658#p247295 ). Then I was able to disable and enable cursor navigation by pressing SHIFT + NumLock instead of  navigating to `systemsettings` » Accessibility » Cursor Navigation like described in the bug report.

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-52-generic (64-bit)
Graphics Platform: X11
Comment 4 Lukas 2022-11-01 00:32:57 UTC
(In reply to Lukas from comment #3)
> Hello, I'm experiencing the exact same bug.
> 
> This is an old bug. I already struggled with this a few years ago.
> 
> I've hotfixed it by executing `setxkbmap -option keypad:pointerkeys` in a
> terminal according to [this forum thread](
> https://forum.kde.org/viewtopic.php?t=106658#p247295 ). Then I was able to
> disable and enable cursor navigation by pressing SHIFT + NumLock instead of 
> navigating to `systemsettings` » Accessibility » Cursor Navigation like
> described in the bug report.
> 
> Operating System: Kubuntu 22.04
> KDE Plasma Version: 5.24.6
> KDE Frameworks Version: 5.92.0
> Qt Version: 5.15.3
> Kernel Version: 5.15.0-52-generic (64-bit)
> Graphics Platform: X11

I've noticed, that the workaround is only for the current session. So when you log off and on again, you have to execute the command again. To execute the command when you log in, you can add a desktop entry in ~/.config/autostart with the commands:
```bash
# apply for this session
setxkbmap -option keypad:pointerkeys;
# create desktop entry to apply it for every session in the future
echo -en "[Desktop Entry]\nExec=setxkbmap -option keypad:pointerkeys\nType=Application\nX-KDE-AutostartScript=true" > ~/.config/autostart/keypad_pointerkeys.desktop
```
Comment 5 mirh 2024-01-27 00:37:39 UTC
Idk how much this could help nailing down the issue, but for whatever reason here I could only solve the issue after running once: 
> xset -led named 'Mouse Keys'
(I had already proceeded to remove pointerkeys from the setxkbmap options, but to no avail)