← Back to team overview

touch-packages team mailing list archive

[Bug 1373807] Re: Unity8 freeze (caused by shell plugin) after performing OA workflow

 

** Branch linked: lp:ubuntu/utopic-proposed/unity-scopes-shell

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

Title:
  Unity8 freeze (caused by shell plugin) after performing OA workflow

Status in QML plugin for Scopes:
  Fix Committed
Status in “unity-scopes-shell” package in Ubuntu:
  Fix Released

Bug description:
  From Kyle:

  Today, I took a another look the new support for online accounts for
  scopes (since my email of last week).

  Problem is that after logging into the facebook account in OA settings
  and then authenticating the app there, creating the
  unity::scopes::OnlineAccountClient object *every time after that*
  causes the code to not return: the scope hangs.

  In my query::run(), right at the top,  I have this:

       qDebug() << "=== query run()";
       qDebug() << "=== query run() 1";
       unity::scopes::OnlineAccountClient oa_client("com.canonical.scopes.fbphotos_fbphotos", "fbphotos", "facebook");
       qDebug() << "=== query run() 2";

  Until I authorize the app in OA > facebook account > settings, I get
  this:

  === query run() 1
  === query run() 2

  At this point, I do see the "Log In" reply displayed in the scope, and
  things are looking good. So I go to OA and authorize the app.

  But after this, we never return from the instantiation of the
  oa_client, and I see this *only*:

  === query run() 1

  Seems to hang on 
  unity::scopes::OnlineAccountClient oa_client(...)

  Any thoughts?

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity-scopes-shell/+bug/1373807/+subscriptions