Bug 486352 - Security issue: Lockscreen showed mysterious "Unlock" button and could be unlocked without a password
Summary: Security issue: Lockscreen showed mysterious "Unlock" button and could be unl...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Screen locking (other bugs)
Version First Reported In: 6.2.4
Platform: Arch Linux Linux
: VHI grave
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-30 16:05 UTC by andy
Modified: 2025-05-24 04:22 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.4.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andy 2024-04-30 16:05:47 UTC
SUMMARY
Normally at night I do Super+L to lock my screen, then turn off my monitors. In the morning I turn on my montiors and move my mouse to see the password prompt. Today I instead of a password prompt there was a "Unlock" button. When I clicked it, it unlocked my session without prompting for my password.

It sounds similar to this https://bugs.kde.org/show_bug.cgi?id=484363 but clicking the button unlocked my session, without asking for a password. And similarly, it doesn't happen every time (I haven't reproduced it by locking/unlocking since just observing it now).

The logs had this very sus line: kscreenlocker_greet[582024]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/NoPasswordUnlock.qml:26: ReferenceError: tryToSwitchUser is not defined


STEPS TO REPRODUCE
1. Lock screen at end of day, turn off monitors.
2. Next day turn on monitors, move mouse.
3. Observe "Unlock" button. Click it.

OBSERVED RESULT
Clicking "Unlock" unlocks the session without asking for a password.

EXPECTED RESULT
You should never be able to unlock the session no password or an invalid password.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.7-arch1-2 (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 6600

ADDITIONAL INFORMATION
This was in the journalctl around when I unlocked it. Note the reference to "NoPasswordUnlock.qml".

Apr 30 08:47:01 kwin_wayland[6312]: kwin_core: KWin::LayerShellV1Window doesn't support setting maximized state
Apr 30 08:47:01 kwin_wayland[6312]: kwin_core: KWin::LayerShellV1Window doesn't support setting fullscreen state
Apr 30 08:47:01 kwin_wayland[6312]: kwin_core: KWin::LayerShellV1Window doesn't support setting maximized state
Apr 30 08:47:01 kwin_wayland[6312]: kwin_core: KWin::LayerShellV1Window doesn't support setting fullscreen state
Apr 30 08:47:01 kwin_wayland[6312]: kwin_core: KWin::LayerShellV1Window doesn't support setting maximized state
Apr 30 08:47:01 kwin_wayland[6312]: kwin_core: KWin::LayerShellV1Window doesn't support setting fullscreen state
Apr 30 08:47:01 kwin_wayland[6312]: kwin_core: Failed to load cursor theme "Oxygen_Blue"
Apr 30 08:47:01 kwin_wayland[6312]: kwin_core: Failed to load cursor theme "Oxygen_Blue"
Apr 30 08:47:01 kscreenlocker_greet[582024]: Data set on unsupported clipboard mode. QMimeData object will be deleted.
Apr 30 08:47:07 kscreenlocker_greet[582024]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/NoPasswordUnlock.qml:26: ReferenceError: tryToSwitchUser is not defined
Apr 30 08:47:07 kscreenlocker_greet[582024]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/NoPasswordUnlock.qml:26: ReferenceError: tryToSwitchUser is not defined
Apr 30 08:47:07 kscreenlocker_greet[582024]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/NoPasswordUnlock.qml:26: ReferenceError: tryToSwitchUser is not defined
Apr 30 08:47:07 kscreenlocker_greet[582024]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/NoPasswordUnlock.qml:26: ReferenceError: tryToSwitchUser is not defined
Apr 30 08:47:12 kscreenlocker_greet[582024]: qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)
Apr 30 08:47:12 kscreenlocker_greet[582024]: qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)
Apr 30 08:47:12 kscreenlocker_greet[582024]: qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)
Apr 30 08:47:12 kscreenlocker_greet[582024]: qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)
Apr 30 08:47:12 kscreenlocker_greet[582024]: Failed to write to the pipe: Bad file descriptor.
Apr 30 08:47:18 kioworker[650986]: kf.kio.core: An error occurred during write. The worker terminates now.
Apr 30 08:47:20 systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Apr 30 08:47:21 kscreenlocker_greet[651083]: Data set on unsupported clipboard mode. QMimeData object will be deleted.
Apr 30 08:47:21 kscreenlocker_greet[651083]: Data set on unsupported clipboard mode. QMimeData object will be deleted.
Apr 30 08:47:21 kscreenlocker_greet[651083]: Data set on unsupported clipboard mode. QMimeData object will be deleted.
Apr 30 08:47:21 kscreenlocker_greet[651083]: Data set on unsupported clipboard mode. QMimeData object will be deleted.
Comment 1 andy 2024-05-02 14:35:38 UTC
After two more nights, unlocking my computer on May 1st had the password prompt as expected, but today May 2nd it had the passwordless "Unlock" button again. Clicking it unlocked my desktop with no password needed :\

Here's from the logs this morning when turning on my screens, and then clicking the unlock button a minute later:

May 02 07:20:58 kwin_wayland[6312]: kwin_core: Failed to load cursor theme "Oxygen_Blue"
May 02 07:20:58 kwin_wayland[6312]: kwin_core: Failed to load cursor theme "Oxygen_Blue"
May 02 07:20:58 kwin_wayland[6312]: kwin_core: Failed to load cursor theme "Oxygen_Blue"
May 02 07:20:58 kwin_wayland[6312]: kwin_core: Failed to load cursor theme "Oxygen_Blue"
May 02 07:20:58 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:58 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:58 firefox[271808]: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.
May 02 07:20:58 firefox[271808]: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.
May 02 07:20:58 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:58 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:58 firefox[271808]: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.
May 02 07:20:58 firefox[271808]: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.
May 02 07:20:58 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:58 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:58 firefox[271808]: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.
May 02 07:20:58 firefox[271808]: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.
May 02 07:20:58 kwin_wayland[6312]: kwin_core: KWin::LayerShellV1Window doesn't support setting maximized state
May 02 07:20:58 kwin_wayland[6312]: kwin_core: KWin::LayerShellV1Window doesn't support setting fullscreen state
May 02 07:20:58 kwin_wayland[6312]: kwin_core: Failed to load cursor theme "Oxygen_Blue"
May 02 07:20:58 pipewire-pulse[6766]: mod.combine-stream: 0x613c8e8ff500: out of playback buffers: Broken pipe
May 02 07:20:58 kwin_wayland[6312]: kwin_core: Failed to load cursor theme "Oxygen_Blue"
May 02 07:20:58 pipewire-pulse[6766]: mod.combine-stream: 0x613c8e8ff500: out of playback buffers: Broken pipe
May 02 07:20:58 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:58 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:58 firefox[271808]: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.
May 02 07:20:58 firefox[271808]: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.
May 02 07:20:58 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:58 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:58 firefox[271808]: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.
May 02 07:20:58 firefox[271808]: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.
May 02 07:20:58 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:58 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:58 firefox[271808]: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.
May 02 07:20:58 firefox[271808]: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.
May 02 07:20:58 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:58 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:58 firefox[271808]: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.
May 02 07:20:58 firefox[271808]: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.
May 02 07:20:58 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:58 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:58 firefox[271808]: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.
May 02 07:20:58 firefox[271808]: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.
May 02 07:20:58 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:58 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:58 firefox[271808]: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.
May 02 07:20:58 firefox[271808]: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.
May 02 07:20:58 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:58 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:58 firefox[271808]: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.
May 02 07:20:58 firefox[271808]: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.
May 02 07:20:58 kwin_wayland[6312]: kwin_wayland_drm: atomic commit failed: Invalid argument
May 02 07:20:58 kscreenlocker_greet[1855309]: Data set on unsupported clipboard mode. QMimeData object will be deleted.
May 02 07:20:58 kscreenlocker_greet[1855309]: Data set on unsupported clipboard mode. QMimeData object will be deleted.
May 02 07:20:59 kwin_wayland[6312]: kwin_core: Failed to load cursor theme "Oxygen_Blue"
May 02 07:20:59 kwin_wayland[6312]: kwin_core: Failed to load cursor theme "Oxygen_Blue"
May 02 07:20:59 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:59 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:59 firefox[271808]: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.
May 02 07:20:59 firefox[271808]: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.
May 02 07:20:59 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:59 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:59 firefox[271808]: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.
May 02 07:20:59 firefox[271808]: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.
May 02 07:20:59 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:59 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:59 firefox[271808]: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.
May 02 07:20:59 firefox[271808]: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.
May 02 07:20:59 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:59 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:20:59 firefox[271808]: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.
May 02 07:20:59 firefox[271808]: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.
May 02 07:21:01 kwin_wayland[6312]: kwin_core: KWin::LayerShellV1Window doesn't support setting maximized state
May 02 07:21:01 kwin_wayland[6312]: kwin_core: KWin::LayerShellV1Window doesn't support setting fullscreen state
May 02 07:21:01 kwin_wayland[6312]: kwin_core: KWin::LayerShellV1Window doesn't support setting maximized state
May 02 07:21:01 kwin_wayland[6312]: kwin_core: KWin::LayerShellV1Window doesn't support setting fullscreen state
May 02 07:21:01 kwin_wayland[6312]: kwin_core: KWin::LayerShellV1Window doesn't support setting maximized state
May 02 07:21:01 kwin_wayland[6312]: kwin_core: KWin::LayerShellV1Window doesn't support setting fullscreen state
May 02 07:21:01 kwin_wayland[6312]: kwin_core: Failed to load cursor theme "Oxygen_Blue"
May 02 07:21:01 kwin_wayland[6312]: kwin_core: Failed to load cursor theme "Oxygen_Blue"
May 02 07:21:01 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:21:01 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:21:01 firefox[271808]: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.
May 02 07:21:01 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:21:01 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:21:01 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:21:01 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:21:01 firefox[271808]: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.
May 02 07:21:01 firefox[271808]: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.
May 02 07:21:01 firefox[271808]: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.
May 02 07:21:01 firefox[271808]: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.
May 02 07:21:01 firefox[271808]: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.
May 02 07:21:01 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:21:01 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:21:01 firefox[271808]: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.
May 02 07:21:01 firefox[271808]: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.
May 02 07:21:01 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:21:01 plasmashell[271808]: [Parent 271808, Main Thread] WARNING: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-125.0.2/toolkit/xre/nsSigHandlers.cpp:187
May 02 07:21:01 firefox[271808]: Couldn't map window 0x744bba090ae0 as subsurface because its parent is not mapped.
May 02 07:21:01 firefox[271808]: Couldn't map window 0x744bba08f280 as subsurface because its parent is not mapped.
May 02 07:21:01 pipewire-pulse[6766]: mod.combine-stream: 0x613c8eb6c810: out of playback buffers: Broken pipe
May 02 07:21:01 kscreenlocker_greet[1855309]: Data set on unsupported clipboard mode. QMimeData object will be deleted.
May 02 07:21:01 plasmashell[1148448]: 0084:fixme:hid:build_joystick_report_descriptor More than 8 absolute axes found, ignoring.
May 02 07:21:06 kscreenlocker_greet[1855309]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/NoPasswordUnlock.qml:26: ReferenceError: tryToSwitchUser is not defined
May 02 07:21:06 kscreenlocker_greet[1855309]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/NoPasswordUnlock.qml:26: ReferenceError: tryToSwitchUser is not defined
May 02 07:21:06 kscreenlocker_greet[1855309]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/NoPasswordUnlock.qml:26: ReferenceError: tryToSwitchUser is not defined
May 02 07:21:06 kscreenlocker_greet[1855309]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/NoPasswordUnlock.qml:26: ReferenceError: tryToSwitchUser is not defined
May 02 07:21:56 kscreenlocker_greet[1855309]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0
May 02 07:21:56 kscreenlocker_greet[1855309]: qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)
May 02 07:21:56 kscreenlocker_greet[1855309]: qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)
May 02 07:21:56 kscreenlocker_greet[1855309]: qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)
May 02 07:21:56 kscreenlocker_greet[1855309]: qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)
May 02 07:21:56 kscreenlocker_greet[1855309]: Failed to write to the pipe: Bad file descriptor.
Comment 2 TraceyC 2025-01-16 19:14:49 UTC
This looks like a duplicate of 484363. Please follow that report for progress. Thanks!

*** This bug has been marked as a duplicate of bug 484363 ***
Comment 3 Nate Graham 2025-05-15 14:01:08 UTC
Not a duplicate; in this case the user *can* unlock the session, but inappropriately, without providing their password!
Comment 4 John Kizer 2025-05-17 02:41:07 UTC
For what it's worth, if it's at all helpful for anyone in digging in - the line that mentions "NoPasswordUnlock.qml:26: ReferenceError: tryToSwitchUser is not defined" looks like it's coming from the fact that a function, and then a call to that function from NoPasswordUnlock.qml, were implemented here: https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2847

Then the function was deleted here, but the call from NoPasswordUnlock.qml remained: https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3577

And is still present today: https://invent.kde.org/plasma/plasma-desktop/-/blob/Plasma/6.4/desktoppackage/contents/lockscreen/NoPasswordUnlock.qml?ref_type=heads#L26

And this looks like the place where NoPasswordUnlock.qml is getting referenced in the main UI file: https://invent.kde.org/plasma/plasma-desktop/-/blob/v6.3.90/desktoppackage/contents/lockscreen/LockScreenUi.qml?ref_type=tags#L55 - maybe that got incorrectly activated somehow?
Comment 5 Bug Janitor Service 2025-05-20 11:16:29 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3009
Comment 6 Marco Martin 2025-05-20 11:46:26 UTC
Git commit 24857e68a01cf92929c48279b9c42251e136a682 by Marco Martin.
Committed on 20/05/2025 at 11:06.
Pushed by mart into branch 'master'.

lockscreen: remove dead code

The function tryToSwitchUser was removed in
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3577
but still called, casing error output on terminal

M  +0    -1    desktoppackage/contents/lockscreen/NoPasswordUnlock.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/24857e68a01cf92929c48279b9c42251e136a682
Comment 7 Bug Janitor Service 2025-05-20 11:48:58 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3010
Comment 8 Marco Martin 2025-05-20 12:10:53 UTC
Git commit 2592f1fe98661fc64b88e422d7f018e6b26d2c9b by Marco Martin.
Committed on 20/05/2025 at 11:47.
Pushed by mart into branch 'Plasma/6.4'.

lockscreen: remove dead code

The function tryToSwitchUser was removed in
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3577
but still called, casing error output on terminal


(cherry picked from commit 24857e68a01cf92929c48279b9c42251e136a682)

24857e68 lockscreen: remove dead code

Co-authored-by: Marco Martin <notmart@gmail.com>

M  +0    -1    desktoppackage/contents/lockscreen/NoPasswordUnlock.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/2592f1fe98661fc64b88e422d7f018e6b26d2c9b
Comment 9 TraceyC 2025-05-22 00:07:31 UTC
The fix was merged to master and will be in 6.4.0. Please set this report to REOPENED if the bug still occurs when your system has updated to that version. Thanks!