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

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/5eaaa200bed2e7d2212c90248
                   |                            |901ca48a0979434
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from David Edmundson <k...@davidedmundson.co.uk> ---
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

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

Reply via email to