Bug 477374 - Plasma on Wayland fails to recognize numlock status on startup
Summary: Plasma on Wayland fails to recognize numlock status on startup
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: input (show other bugs)
Version: 5.27.8
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-22 15:23 UTC by Guido Winkelmann
Modified: 2023-11-30 21:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Winkelmann 2023-11-22 15:23:44 UTC
SUMMARY
When starting up KDE Plasma (kde-plasma/kwin-5.27.8-r3) when NumLock is already enabled, it will leave the NumLock indicator on the keyboard on, but treat keyboard input as if NumLock were off. If the NumLock button is pressed in this situation, the internal NumLock status will stay off and the keyboard's NumLock indicator will go dark.

STEPS TO REPRODUCE
1.  Start up SDDM
2. Make sure NumLock is enabled
3. Log in to a Plasma on Wayland session

OBSERVED RESULT
1 - After startup, the keyboard LED indicates the wrong NumLock status.
2 - NumLock is effectively off after Plasma start in all cases I have seen.

EXPECTED RESULT
1 - The status of the keyboard's NumLock LED should always correspond 1-1 to how the system will interpret input on the NumPad.
2 - If NumLock is enabled before Plasma starts up, it should still be enabled after startup unless intentionally disabled by the user.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Linux 6.1.62, Plasma 5.27.8
(available in About System)
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
While I am reporting this for kwin version 5.27.8, I have seen this behavior in all versions of kwin on Wayland I have tried so far. I have not seen it in kwin on X.
See also the corresponding bug report in the Gentoo bug tracker: https://bugs.gentoo.org/917749