Possible races when using lenses
Bug #936976 reported by
Michal Hruby
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Confirmed
|
Low
|
Unassigned | ||
libunity |
New
|
Undecided
|
Unassigned | ||
libunity (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
unity (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
There are currently possible races when using lenses - currently a lens will emit the "Changed" signal once it starts up which basically contains all properties of a lens - that means there's time between getting an active GDBusProxy and receiving the "Changed" signal when things can go wrong.
To fix this issue we should be using dbus properties which are automatically read when getting a proxy and readily available after g_dbus_
Changed in libunity: | |
assignee: | nobody → Michal Hruby (mhr3) |
Changed in unity: | |
status: | New → Confirmed |
assignee: | nobody → Michal Hruby (mhr3) |
importance: | Undecided → Low |
milestone: | none → 5.6.0 |
Changed in unity: | |
milestone: | 5.6.0 → 5.8.0 |
Changed in unity: | |
milestone: | 5.8.0 → 5.10.0 |
Changed in unity: | |
milestone: | 5.10.0 → 5.12.0 |
Changed in unity: | |
milestone: | 5.12.0 → 5.14.0 |
Changed in unity: | |
milestone: | 5.14.0 → 5.16.0 |
Changed in unity: | |
milestone: | 5.16.0 → 5.18.0 |
Changed in unity: | |
milestone: | 5.18.0 → 7.0.0 |
Changed in unity: | |
milestone: | 7.0.0 → 7.0.1 |
Changed in unity: | |
milestone: | 7.0.1 → 7.3.1 |
Changed in unity: | |
milestone: | 7.3.1 → 7.3.2 |
Changed in unity: | |
milestone: | 7.3.2 → 7.3.3 |
Changed in unity: | |
assignee: | Michal Hruby (mhr3) → nobody |
Changed in libunity: | |
assignee: | Michal Hruby (mhr3) → nobody |
Changed in unity: | |
milestone: | 7.3.3 → none |
To post a comment you must log in.
I don't see how the two solutions differ. They both require an async dbus call to fully set up the proxy... InfoRequest() or GetProperties(), sure one is automated by gdbus, but breaking wire protocol just for that seems like a steep price for no real gain..?