<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>478620</bug_id>
          
          <creation_ts>2023-12-16 21:43:03 +0000</creation_ts>
          <short_desc>Mouse navigation with numpad doesn&apos;t work under Wayland</short_desc>
          <delta_ts>2025-04-22 14:52:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>systemsettings</product>
          <component>kcm_access</component>
          <version>5.90.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.kde.org/show_bug.cgi?id=501286</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>accessibility, qt6, wayland-only</keywords>
          <priority>HI</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jan Rathmann">jan.rathmann</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>ak2022dev</cc>
    
    <cc>alyssa</cc>
    
    <cc>AndyKluger</cc>
    
    <cc>dev</cc>
    
    <cc>dougshaw77</cc>
    
    <cc>duha.bugs</cc>
    
    <cc>herzenschein</cc>
    
    <cc>jf.mundox</cc>
    
    <cc>jpetso</cc>
    
    <cc>kde</cc>
    
    <cc>kdedev</cc>
    
    <cc>nate</cc>
    
    <cc>nicolas.fella</cc>
    
    <cc>parsa2820</cc>
    
    <cc>postix</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/kwin/-/commit/7b93a7761e1d3fe1ca9af863c3921a7a3a276530</cf_commitlink>
          <cf_versionfixedin>6.4.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2274577</commentid>
    <comment_count>0</comment_count>
    <who name="Jan Rathmann">jan.rathmann</who>
    <bug_when>2023-12-16 21:43:03 +0000</bug_when>
    <thetext>SUMMARY
Using the numpad to move the mouse cursor currently doesn&apos;t work in the Wayland session.

STEPS TO REPRODUCE
1. Start P6 Wayland session 
2. Go to Systemsettings -&gt; Accessibility -&gt; Mouse Navigation
3. Check &quot;Use number pad to move cursor&quot;
4. Try to move the cursor with the numpad

OBSERVED RESULT
Nothing happens when pressing numpad keys to move the cursor.

EXPECTED RESULT
Cursor should move when pressing numpad keys.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.90
KDE Frameworks Version: 5.247
Qt Version: 6.6.1

ADDITIONAL INFORMATION
Reproduced with Neon Unstable installation and openSuse Krypton live image.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2274584</commentid>
    <comment_count>1</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2023-12-16 21:54:13 +0000</bug_when>
    <thetext>See https://invent.kde.org/plasma/kwin/-/merge_requests/3362</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2274590</commentid>
    <comment_count>2</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2023-12-16 23:33:40 +0000</bug_when>
    <thetext>bad bot</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2292137</commentid>
    <comment_count>3</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2024-02-26 22:07:00 +0000</bug_when>
    <thetext>*** Bug 481843 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2292222</commentid>
    <comment_count>4</comment_count>
    <who name="Amir Khan">ak2022dev</who>
    <bug_when>2024-02-27 11:15:33 +0000</bug_when>
    <thetext>Also confirmed on:

Fedora 39 KDE Spin VM (latest updates as of Tue 27 Feb 24), running as Virtualbox guest under Windows 11 host;
Fedora 39 KDE Spin VM, (latest updates as of Tue 27 Feb 24), running as Gnome Boxes guest under Ubuntu 22.04 host;
KDE Neon Developer VM, (updates crashing under Discover on Tue 27 Feb 24, but up-to-date prior to that) running as Gnome Boxes guest under Ubuntu 22.04 host.

The bug exists whether Plasma is in a Wayland session, or an X11 session, regardless of whether Num Lock is on or off, in either case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2340140</commentid>
    <comment_count>5</comment_count>
    <who name="Thiago Sueto">herzenschein</who>
    <bug_when>2024-07-25 17:43:04 +0000</bug_when>
    <thetext>*** Bug 490825 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2417853</commentid>
    <comment_count>6</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2025-04-22 10:50:43 +0000</bug_when>
    <thetext>Git commit 7b93a7761e1d3fe1ca9af863c3921a7a3a276530 by Nicolas Fella.
Committed on 22/04/2025 at 10:33.
Pushed by nicolasfella into branch &apos;master&apos;.

Implement MouseKeys on Wayland

This allows to move the mouse cursor using numpad keys.

This is an accessibility feature. On X11 this is implemented in XKB, on Wayland we get to do it outself.

It&apos;s implemented as a plugin that filters for relevant keys and generates mouse events through a virtual pointer device

M  +1    -0    autotests/integration/CMakeLists.txt
A  +222  -0    autotests/integration/mouse_keys_test.cpp     [License: GPL(v2.0+)]
M  +1    -0    src/input.h
M  +1    -0    src/plugins/CMakeLists.txt
A  +18   -0    src/plugins/mousekeys/CMakeLists.txt
A  +25   -0    src/plugins/mousekeys/main.cpp     [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)]
A  +5    -0    src/plugins/mousekeys/metadata.json
A  +249  -0    src/plugins/mousekeys/mousekeys.cpp     [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)]
A  +70   -0    src/plugins/mousekeys/mousekeys.h     [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)]

https://invent.kde.org/plasma/kwin/-/commit/7b93a7761e1d3fe1ca9af863c3921a7a3a276530</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>