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

            Bug ID: 529283
           Summary: Lock screen turns Num Lock off; ignores "NumLock on
                    Plasma Startup" = Turn on
    Classification: Plasma
           Product: KScreen
      Version First 6.8.3
       Reported In:
          Platform: KDE Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kscreen-doctor
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Steps to reproduce:

Fresh login to a Plasma Wayland session. "NumLock on Plasma Startup" is set to
"Turn on" (verified: ~/.config/kcminputrc contains [Keyboard] NumLock=0).
Verify the numpad types digits on the desktop (it does; Num Lock is on).
Lock the screen (Meta+L).
Observe the keyboard Num Lock LED and try typing numpad digits.
Expected result: The lock screen keeps Num Lock enabled (as the session had it)
so the numpad can type digits into the password field.

Actual result: When the lock screen appears, the Num Lock LED turns off and the
numpad stops producing digits. The user must press Num Lock again at the lock
screen to type numbers in their password. The state is lost every time the
screen is locked. It is correctly restored on session start.

Additional information:

The Keyboard Daemon background service is enabled; note that the old kded
"keyboard" module no longer exists in Plasma 6 (qdbus org.kde.kded6 /kded
loadModule keyboard returns false).
Configuration verified: kreadconfig6 --file kcminputrc --group Keyboard --key
NumLock returns 0, and cat ~/.config/kcminputrc shows: [Keyboard] NumLock=0
The SDDM boot/login screen is not affected: /etc/sddm.conf [General] Numlock=on
works there.
The failure is specific to kscreenlocker: Num Lock is on inside the session and
only turns off when the lock screen engages. This matches user reports that the
Wayland lock screen forces Num Lock off as an apparent "security" measure.
Related context: kde bug 477374 (Plasma on Wayland fails to recognize numlock
status on startup) and sddm issue #2090 describe nearby behavior; this report
concerns the lock screen specifically.
System details to attach (run and paste the outputs):

plasmashell --version → plasmashell 6.8.3
cat /etc/fedora-release → Fedora release 45 (Forty Five)
echo $XDG_SESSION_TYPE → Wayland
kreadconfig6 --file kcminputrc --group Keyboard --key NumLock → 0

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

Reply via email to