Summary: | Overview effect freezes for about 45 seconds when attempting to shutdown/suspend/restart from within the overview effect | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Philip Soerensen <9f0cfwe0l> |
Component: | effects-overview | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde, kde, nate |
Priority: | HI | ||
Version: | 6.0.5 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/5eaaa200bed2e7d2212c90248901ca48a0979434 | Version Fixed In: | 6.2 |
Description
Philip Soerensen
2024-06-05 09:04:36 UTC
calls were made blocking for some bug https://invent.kde.org/plasma/plasma-workspace/-/commit/81d61861608012e4d7a19e6f85b8d136c298f31f A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4417 Git commit 5eaaa200bed2e7d2212c90248901ca48a0979434 by David Edmundson. Committed on 06/06/2024 at 07:00. Pushed by davidedmundson into branch 'master'. libkworkspace: Avoid blocking calls in SessionManagement operations It is important the app stays alive until the call has been fully dispatched, otherwise the call will not be completed. As a temporary fix the calls were made blocking. This causes issues now that kwin can be invoking this from the krunner plugin. Instead it is replaced with an event loop locker, so apps can use that to keep things alive implicitly. To ensure we don't reopen the original bug 432460 logout-greeter is ported away from calling quit, so the event loop locker is honoured. M +26 -7 libkworkspace/sessionmanagement.cpp M +7 -8 logout-greeter/greeter.cpp M +2 -1 logout-greeter/greeter.h https://invent.kde.org/plasma/plasma-workspace/-/commit/5eaaa200bed2e7d2212c90248901ca48a0979434 |