Bug 506316 - Locked screen cannot be unlocked
Summary: Locked screen cannot be unlocked
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Screen locking (other bugs)
Version First Reported In: 6.4.1
Platform: Fedora RPMs Linux
: VHI major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL: https://bugzilla.redhat.com/show_bug....
Keywords:
: 506331 506341 506351 506360 506364 506410 506415 506428 506478 506491 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-06-28 14:28 UTC by Fikret Skrgic
Modified: 2025-07-05 19:16 UTC (History)
18 users (show)

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


Attachments
Lock screen (1.96 MB, image/jpeg)
2025-06-28 14:28 UTC, Fikret Skrgic
Details
kde junk (434.94 KB, image/jpeg)
2025-07-05 18:36 UTC, geekiehiway
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fikret Skrgic 2025-06-28 14:28:29 UTC
Created attachment 182760 [details]
Lock screen

SUMMARY

If screen locks, it cannot be unlocked.


STEPS TO REPRODUCE
1. Lock the screen or let it lock by itself
2. 
3. 

OBSERVED RESULT

It cannot be unlocked. See screenshot.

EXPECTED RESULT

Unlocked


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.1
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION

/usr/libexec/kscreenlocker_greet --testing
Locked at 1751120775
qml: The backend got an unknown wallpaper provider type. The wallpaper will now fall back to the default. Please check your wallpaper configuration!
qml: The backend got an unknown wallpaper provider type. The wallpaper will now fall back to the default. Please check your wallpaper configuration!
org.kde.plasma.libtaskmanager: The PlasmaWindowManagement protocol hasn't activated in time. The client possibly got denied by kwin? Check kwin output.
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/lockscreen/LockOsd.qml:10:1: "../osd": no such directory
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/lockscreen/LockOsd.qml:10:1: "../osd": no such directory
Segmentation fault (core dumped)


#0  0x00007fcbf177919d in QWaylandXdgActivationV1::requestXdgActivationToken(QtWaylandClient::QWaylandDisplay*, wl_surface*, std::optional<unsigned int>, QString const&) [clone .constprop.0] () at /lib64/libLayerShellQtInterface.so.6
#1  0x00007fcbf1779990 in LayerShellQt::QWaylandLayerSurface::requestActivate() () at /lib64/libLayerShellQtInterface.so.6
#2  0x00007fcbeef5662c in QObject::event(QEvent*) () at /lib64/libQt6Core.so.6
#3  0x00007fcbeeef9f38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt6Core.so.6
#4  0x00007fcbeeefdd26 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt6Core.so.6
#5  0x00007fcbef21016f in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt6Core.so.6
#6  0x00007fcbed0eb880 in g_main_context_dispatch_unlocked.lto_priv () at /lib64/libglib-2.0.so.0
#7  0x00007fcbed0f47a8 in g_main_context_iterate_unlocked.isra () at /lib64/libglib-2.0.so.0
#8  0x00007fcbed0f4953 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#9  0x00007fcbef20f9ad in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#10 0x00007fcbeef07b03 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#11 0x00007fcbeef03419 in QCoreApplication::exec() () at /lib64/libQt6Core.so.6
#12 0x000055792850d8be in main ()
Comment 1 pg_tips 2025-06-28 20:06:48 UTC
I can reproduce this under Fedora's qt6-qwayland package, version 6.9.1-2.

Reverting to 6.9.1-1 appears to fix the issue.

Fedora bugtracking link: https://bugzilla.redhat.com/show_bug.cgi?id=2375356
Comment 2 pg_tips 2025-06-28 20:08:21 UTC
(In reply to pg_tips from comment #1)
> I can reproduce this under Fedora's qt6-qwayland package, version 6.9.1-2.

Sorry for typo - package name is qt6-qtwayland.
Comment 3 Kat Pavlu 2025-06-29 07:09:17 UTC
*** Bug 506331 has been marked as a duplicate of this bug. ***
Comment 4 Nicolas Fella 2025-06-29 15:44:09 UTC
*** Bug 506341 has been marked as a duplicate of this bug. ***
Comment 5 Antonio Rojas 2025-06-29 17:33:31 UTC
*** Bug 506351 has been marked as a duplicate of this bug. ***
Comment 6 Antonio Rojas 2025-06-29 20:04:40 UTC
*** Bug 506360 has been marked as a duplicate of this bug. ***
Comment 7 Antonio Rojas 2025-06-29 20:06:24 UTC
*** Bug 506364 has been marked as a duplicate of this bug. ***
Comment 8 pg_tips 2025-06-29 20:53:15 UTC
One more observation. On a system with Plasma 6.4.1, and qt6-qtwayland 6.9.1-1 (i.e. the good, reverted version), I still get this log line:

> file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/lockscreen/LockOsd.qml:10:1: "../osd": no such directory

but I don't get the lockscreen breakage or any other negative effects.

So while this missing directory might be something that should be tidied up in Plasma, it doesn't appear to be the cause of the issues seen here.
Comment 9 Brian Kaye 2025-06-30 02:18:45 UTC
Try running "/usr/libexec/kscreenlocker_greet" on a Konsole session. I get the missing directory message and and immediate segfault.
Comment 10 pg_tips 2025-06-30 06:00:55 UTC
(In reply to Brian Kaye from comment #9)
> Try running "/usr/libexec/kscreenlocker_greet" on a Konsole session. I get
> the missing directory message and and immediate segfault.
On my system with Plasma 6.4.1 and qt6-qtwayland 6.9.1-1 (i.e. the good, reverted one), I get the missing directory message, but no segfault and a normal lock/unlock process.

Console output:

$ /usr/libexec/kscreenlocker_greet --testing
Locked at 1751263124
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/lockscreen/LockOsd.qml:10:1: "../osd": no such directory
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/lockscreen/LockOsd.qml:10:1: "../osd": no such directory
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/lockscreen/LockOsd.qml:10:1: "../osd": no such directory
Unlocked
Unlocked
Unlocked
Unlocked
Unlocked
Unlocked
Unlocked
Unlocked
Unlocked
Comment 11 Akseli Lahtinen 2025-06-30 09:41:06 UTC
❯ ./kscreenlocker_greet --testing
kf.svg: The theme "BreezeOutline" uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format.
kf.svg: The theme "BreezeOutline" uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format.
kf.plasma.core: The theme "BreezeOutline" uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format.
kf.plasma.core: The theme "BreezeOutline" uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format.
QQmlComponent: Component is not ready
kscreenlocker_greet: Root item not a WallpaperItem
kf.plasma.quick: "file:///home/akseli/Repositories/kde/usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml" 
 "Error loading QML file.\n12: Cannot load library /home/akseli/Repositories/kde/usr/lib64/qml/org/kde/plasma/plasmoid/libplasmoidplugin.so: /home/akseli/Repositories/kde/usr/lib64/qml/org/kde/plasma/plasmoid/libplasmoidplugin.so: undefined symbol: _ZNK13WallpaperItem10metaObjectEv\n"
file:///home/akseli/Repositories/kde/usr/share/plasma/shells/org.kde.plasma.desktop/contents/lockscreen/LockScreenUi.qml:194: ReferenceError: wallpaper is not defined
kscreenlocker_greet: Wallpaper needs to be a QtQuick Item
Locked at 1751276435
kf.svg: The theme "BreezeOutline" uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format.
fish: Job 1, './kscreenlocker_greet --testing' terminated by signal SIGSEGV (Address boundary error)
Comment 12 Fikret Skrgic 2025-06-30 10:37:44 UTC
(In reply to Akseli Lahtinen from comment #11)
> ❯ ./kscreenlocker_greet --testing
> kf.svg: The theme "BreezeOutline" uses the legacy metadata.desktop. Consider
> contacting the author and asking them update it to use the newer JSON format.
> kf.svg: The theme "BreezeOutline" uses the legacy metadata.desktop. Consider
> contacting the author and asking them update it to use the newer JSON format.
> kf.plasma.core: The theme "BreezeOutline" uses the legacy metadata.desktop.
> Consider contacting the author and asking them update it to use the newer
> JSON format.
> kf.plasma.core: The theme "BreezeOutline" uses the legacy metadata.desktop.
> Consider contacting the author and asking them update it to use the newer
> JSON format.
> QQmlComponent: Component is not ready
> kscreenlocker_greet: Root item not a WallpaperItem
> kf.plasma.quick:
> "file:///home/akseli/Repositories/kde/usr/share/plasma/wallpapers/org.kde.
> image/contents/ui/main.qml" 
>  "Error loading QML file.\n12: Cannot load library
> /home/akseli/Repositories/kde/usr/lib64/qml/org/kde/plasma/plasmoid/
> libplasmoidplugin.so:
> /home/akseli/Repositories/kde/usr/lib64/qml/org/kde/plasma/plasmoid/
> libplasmoidplugin.so: undefined symbol: _ZNK13WallpaperItem10metaObjectEv\n"
> file:///home/akseli/Repositories/kde/usr/share/plasma/shells/org.kde.plasma.
> desktop/contents/lockscreen/LockScreenUi.qml:194: ReferenceError: wallpaper
> is not defined
> kscreenlocker_greet: Wallpaper needs to be a QtQuick Item
> Locked at 1751276435
> kf.svg: The theme "BreezeOutline" uses the legacy metadata.desktop. Consider
> contacting the author and asking them update it to use the newer JSON format.
> fish: Job 1, './kscreenlocker_greet --testing' terminated by signal SIGSEGV
> (Address boundary error)

I tried several different themes and I tried deleting the image from the theme. Did not fix it. I don't know whether that should be enough.
Comment 13 Antonio Rojas 2025-06-30 21:24:53 UTC
*** Bug 506410 has been marked as a duplicate of this bug. ***
Comment 14 Antonio Rojas 2025-07-01 06:47:42 UTC
*** Bug 506415 has been marked as a duplicate of this bug. ***
Comment 15 MC 2025-07-01 09:30:18 UTC
user@fedora:~$ /usr/libexec/kscreenlocker_greet --testing
Locked at 1751362071
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/lockscreen/LockOsd.qml:10:1: "../osd": no such directory
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/lockscreen/LockOsd.qml:10:1: "../osd": no such directory
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/lockscreen/LockOsd.qml:10:1: "../osd": no such directory
Segmentation fault (core dumped)


Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.1
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.4-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 16 Antonio Rojas 2025-07-01 10:49:18 UTC
*** Bug 506428 has been marked as a duplicate of this bug. ***
Comment 17 Nicolas Fella 2025-07-02 11:06:03 UTC
*** Bug 506478 has been marked as a duplicate of this bug. ***
Comment 18 Nicolas Fella 2025-07-02 20:20:35 UTC
*** Bug 506491 has been marked as a duplicate of this bug. ***
Comment 19 pg_tips 2025-07-04 06:17:26 UTC
qt6-qtwayland 6.9.1-3.fc42 (which reverts the problematic change in 6.9.1-2 and restores the ABI of 6.9.1-1) has now been released into stable Fedora 42. So a normal "sudo dnf upgrade --refresh" should apply the fix.

https://bugzilla.redhat.com/show_bug.cgi?id=2375356#c33
Comment 20 Brian Kaye 2025-07-04 15:51:11 UTC
The crash problem is fixed. However the missing directory error is still there. Should we open a new bug for that problem.
Comment 21 geekiehiway 2025-07-05 18:36:39 UTC
Created attachment 182983 [details]
kde junk

After using KDE as my choice desktop environment for over 15 years, I am done with this. My original bug submission mentioned the screen lock issue but that was only a symptom, but someone marked it as a duplicate. The real problem is the hugely pixelated screen I get when I login and I cannot get anything done. See the attachment. So long.
Comment 22 Roke Julian Lockhart Beedell 2025-07-05 18:43:46 UTC
(In reply to geekiehiway from comment #21)

As you say, I doubt that that's the same problem as this. I think that should have been commented at the linked bug you mention, but it doesn't seem like you're much in the mood to be helpful... There's certainly no point in disparaging the DE as a whole, here.

Do remember that you get a free desktop environment because your payment is being a tester. You can't much have your cake and eat it. If you're going to reply with "I donate", then maybe file that bug, and take the money you would have donated, and instead put it into a bug bounty for your bug.
Comment 23 Talya 2025-07-05 19:16:29 UTC
(In reply to geekiehiway from comment #21)
> Created attachment 182983 [details]

this is not a solution to the bug, but it seems to me the screen unlocks zoomed in to the max, can you zoom out using super+minus?