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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-activities/-/comm
                   |                            |it/9ac4e1db21f8ef1647023c24
                   |                            |d91ac334d19b9b17
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #29 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit 9ac4e1db21f8ef1647023c24d91ac334d19b9b17 by David Edmundson.
Committed on 20/09/2024 at 13:06.
Pushed by davidedmundson into branch 'master'.

Avoid reporting serviceStatus of NotRunning whilst kamd is loading

Consumer::ServiceStatus is tri-state.
NotRunning, Unknown (loading), Running.

The backend was a simple boolean whether the service was up or not.
The library had code to try and start kactivitymanagerd on boot, or wait
until it is booted. However, this was not reflected in the service
status.

This leads to a race on plasma boot where the service status is reported
as "NotRunning" during initial startup.

A new enum is used as it's not a 1:1 match with Consumer::ServiceStatus,
when the backend is up, an async request of the activities is performed
and then the consumer is declared ready.

M  +18   -13   src/lib/activitiescache_p.cpp
M  +2    -1    src/lib/activitiescache_p.h
M  +27   -14   src/lib/manager_p.cpp
M  +9    -2    src/lib/manager_p.h

https://invent.kde.org/plasma/plasma-activities/-/commit/9ac4e1db21f8ef1647023c24d91ac334d19b9b17

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

Reply via email to