https://bugs.kde.org/show_bug.cgi?id=422682
David Edmundson <k...@davidedmundson.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/kactivitymanagerd/-/comm |ma/kactivitymanagerd/-/comm |it/3cbd1b7b0fda5aa57411956c |it/7353a1046c1a233cb91617fe |0cec0074163a4a8e |3e25a3450a6824c4 --- Comment #39 from David Edmundson <k...@davidedmundson.co.uk> --- Git commit 7353a1046c1a233cb91617fe3e25a3450a6824c4 by David Edmundson. Committed on 22/10/2023 at 00:20. Pushed by davidedmundson into branch 'Plasma/5.27'. Avoid race condition on startup The activities list needs to be loaded at the time the first DBus call is processed. Otherwise kamd will return an empty list. updateSortedActivityList was queued as it needs to run after some other code in the main KAMD constructor, but this was racey as we could get DBus traffic in the meantime. This was relatively easy to hit as this is not in the main thread where the connection is registered and there is a blocking DBus call in the Activies constructor. (cherry picked from commit 3cbd1b7b0fda5aa57411956c0cec0074163a4a8e) M +1 -2 src/service/Activities.cpp https://invent.kde.org/plasma/kactivitymanagerd/-/commit/7353a1046c1a233cb91617fe3e25a3450a6824c4 -- You are receiving this mail because: You are watching all bug changes.