← Back to team overview

touch-packages team mailing list archive

[Bug 936976] Re: Possible races when using lenses

 

** Changed in: unity
     Assignee: Michal Hruby (mhr3) => (unassigned)

** Changed in: libunity
     Assignee: Michal Hruby (mhr3) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity in Ubuntu.
https://bugs.launchpad.net/bugs/936976

Title:
  Possible races when using lenses

Status in LibUnity:
  New
Status in Unity:
  Confirmed
Status in unity package in Ubuntu:
  New

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_proxy_new_finish call. This will also allow us to get rid of
  the InfoRequest() method.

To manage notifications about this bug go to:
https://bugs.launchpad.net/libunity/+bug/936976/+subscriptions