Bug 107298 - lib: don't set loaded state until seat is fetched
Summary: lib: don't set loaded state until seat is fetched
Status: RESOLVED FIXED
Alias: None
Product: accountsservice
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Matthias Clasen
QA Contact:
URL:
Whiteboard:
Keywords:
: 107250 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-07-19 17:24 UTC by Ray Strode [halfline]
Modified: 2018-07-19 17:37 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
lib: don't set loaded state until seat is fetched (3.01 KB, patch)
2018-07-19 17:24 UTC, Ray Strode [halfline]
Details | Splinter Review

Description Ray Strode [halfline] 2018-07-19 17:24:11 UTC
At the moment we set is-loaded on the user-manager
object as soon as we start fetching the seat, but
we should waiting until the seat is fetched, so
that can_switch() will return the correct value
if the caller waited until the loaded signal
to use it.

This commit changes the >= to > which I believe
was the original intention anyway.
Comment 1 Ray Strode [halfline] 2018-07-19 17:24:21 UTC
Created attachment 140717 [details] [review]
lib: don't set loaded state until seat is fetched
Comment 2 Ray Strode [halfline] 2018-07-19 17:36:50 UTC
*** Bug 107250 has been marked as a duplicate of this bug. ***
Comment 3 Ray Strode [halfline] 2018-07-19 17:37:35 UTC
Attachment 140717 [details] pushed as c7fa612 - lib: don't set loaded state until seat is fetched


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.