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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-desktop/commit/98 |ma/plasma-desktop/commit/03
                   |7cafc23638d59bc4e15a964931a |6fd9d18cef1d33f330ae91b9b27
                   |04fe30aa988                 |2089493caa3

--- Comment #20 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit 036fd9d18cef1d33f330ae91b9b272089493caa3 by David Edmundson.
Committed on 02/12/2020 at 10:06.
Pushed by davidedmundson into branch 'Plasma/5.20'.

[kcms/users] Avoid race condition on startup

If accounts service is not yet running the name will not be registered
when we make our first call.

We call into AccountsService from our client code with a blocking call.
We then create a new QDBusAbstractInterface on a given service.

QDBusAbstractInterface::isValid effectively is just a check that the
service is registered. This might not be processed yet at the time we
call this. It isn't a helpful check, if it wasn't up the previous call
to fetch users would have failed. We can just remove it.


(cherry picked from commit 987cafc23638d59bc4e15a964931a04fe30aa988)

M  +1    -1    kcms/users/src/user.cpp

https://invent.kde.org/plasma/plasma-desktop/commit/036fd9d18cef1d33f330ae91b9b272089493caa3

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

Reply via email to