← Back to team overview

touch-packages team mailing list archive

[Bug 1377147] Re: OnlineAccountClient hangs on construction

 

OnlineAccountClient needs to run the internal event loop within its own
context to avoid clashing with external main loops. This way, regardless
of what event loops exist externally, OnlineAccountClient will operate
as expected. This fix also means that the default for the
main_loop_select constructor parameter can now be
CreateInternalMainLoop.

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

Title:
  OnlineAccountClient hangs on construction

Status in “unity-scopes-api” package in Ubuntu:
  In Progress

Bug description:
  If an application has instantiated a main loop (E.g. In a Qt app via
  "new QCoreApplication()") but does not actually run that main loop,
  instantiating an OnlineAccountClient hangs.

  This was picked up when OnlineAccountClient was used from a scope that
  instantiated a QCoreApplication in order to execute QEventLoops
  elsewhere in the code, but did not actually use the application event
  loop.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1377147/+subscriptions


References