Summary: | Compositor freezes when locking the screen | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | oiiu19 |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nate, xaver.hugl |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=451290 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
oiiu19
2022-04-06 15:19:20 UTC
Bug 451290 may be a manifestation of this race condition, just much harder to trigger. As long as dbus messages are handled in a different thread than the wayland server thread, there is a chance logind unlock callback gets scheduled earlier than lockScreenShown. The 1000ms timeout introduced in this commit makes the race condition much more likely to happen. Git commit 388402c3b1b37d9f72597aae8d6670e8c0edeb14 by Xaver Hugl. Committed on 06/04/2022 at 19:08. Pushed by zamundaaa into branch 'Plasma/5.24'. waylandserver: move LockScreenPresentationWatcher to the correct place M +2 -2 src/wayland_server.cpp https://invent.kde.org/plasma/kwin/commit/388402c3b1b37d9f72597aae8d6670e8c0edeb14 A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/2210 This should no longer be happening. If it's still an issue in Plasma 5.27, please reopen the bug report |