https://bugs.kde.org/show_bug.cgi?id=471093

            Bug ID: 471093
           Summary: Numpad shortcuts not recognised under Wayland /
                    Regression
    Classification: Applications
           Product: systemsettings
           Version: 5.27.4
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_keys
          Assignee: plasma-b...@kde.org
          Reporter: william.full.m...@gmail.com
                CC: k...@david-redondo.de
  Target Milestone: ---

Created attachment 159700
  --> https://bugs.kde.org/attachment.cgi?id=159700&action=edit
Screenshot of keyboard shortcuts

SUMMARY



STEPS TO REPRODUCE
1. I have used the shortcut pattern to switch to a virtual workspace of:
Ctrl+Alt+Num+1, Ctrl+Alt+Num+2, etc to respectively switch to virtual
workspace: 1, 2, etc for many years.
2. After upgrading to Kubuntu 23.04 I logged on using a Wayland session
3.  My workspace change shortcut didn't work for workspace #1 (and other
shortcuts).  This is/was working under X-11 loging session on this
installation.
4. I checked the KWin shortcuts and they are are set correctly.  See screenshot
for 'Ctrl+Alt+Num+3' example circled.  This is how it works with Plasma X-11.
5. I then went to redefine the 'Ctrl+Alt+Num+1' (workspace 1) keystroke BUT
they shortcut interface did NOT recognise 'Ctrl+Alt+Num+1' key pattern and
instead recorded: 'Ctrl+Alt+1'.  That is incorrect.
6. I checked this shortcut combination and  'Ctrl+Alt+1' matches BOTH the QWETY
keyboard-1-key scan-code and the numpad-1-key scan-code.  Unlike the X-11
session the Wayland session does not distinguish the numpad as a different set
of keys (scan-codes). Sometimes the numpad is a completely different piece of
hardware, so this is not what is desired.


OBSERVED RESULT

* The required: 'Ctrl+Alt+Num+1' does not register, and cannot be defined.
* The existing (example) 'Ctrl+Alt+Num+3' is defined from the Kubuntu Plasma
X-11 login on this PC
* None of the currently defined workspace shortcuts work.
* Instead the shortcut: 'Ctrl+Alt+Num+1' was recorded and uses the number keys
on the QWERTY keyboard or the numpad 1-key -- Which is NOT desired.  The
keyboard 1-key is used for other things.

EXPECTED RESULT

* 'Ctrl+Alt+Num+1', 'Ctrl+Alt+Num+2' , 'Ctrl+Alt+Num+3' , ... 'Ctrl+Alt+Num+9'
and 'Ctrl+Alt+Num+0', should be defined as distinct scancodes and work as
defined with the existing X-11 settings.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 23.04 
(available in About System)
KDE Plasma Version:  5.27.4 (I think; The KDE ABOUT box does not display the
Plasma release number)
KDE Frameworks Version: No idea, where can I find that?
Qt Version: v5 I believe

ADDITIONAL INFORMATION

* I have saved the shortcut definitions using they 'Export Scheme' button, alas
the bug report only seems to permit a single attachmet.  I will try to add
someting later after filing this bug.

*  It seems by the list of 'possibly related' issues that came-up when I opened
this bug that there are several cases where the numpad is being ignored or
collapsed onto keyboard keys.  
* The thing with keystrokes, is that they match scan-codes, not characters. 
Often there are custome keypads or alternative controls 'wired' to the system
that are do not at all match a keyboard -- Uses include custom terminals,
machine control, virtual controls.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to