← Back to team overview

touch-packages team mailing list archive

[Bug 1231729] Re: "QQmlExpression: Attempted to evaluate an expression in an invalid context" sometimes logged after deleting account - freezes system-settings.

 

** Changed in: ubuntu-system-settings-online-accounts
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-system-settings-
online-accounts in Ubuntu.
https://bugs.launchpad.net/bugs/1231729

Title:
  "QQmlExpression: Attempted to evaluate an expression in an invalid
  context" sometimes logged after deleting account - freezes system-
  settings.

Status in Online Accounts setup for Ubuntu Touch:
  Fix Released
Status in “ubuntu-system-settings-online-accounts” package in Ubuntu:
  Fix Released

Bug description:
  I have experienced the system-settings app getting frozen after deleting accounts on and off for a while.
  I ignored it initially because I assumed it was due to incomplete state caused by my in-development provider plugin.
  However, that plugin is now finished, and I'm still seeing the freezes and now I've confirmed that it occurs with other plugins.

  I haven't been able to fully isolate this bug, but these steps reproduce it with some reliability (~75%):
  this happens as often on the desktop as on the device.

  1. Successfully create two accounts using the same provider (tested with ubuntuone and twitter).
  (I'm not sure it has to be the same provider)
  2. delete both.
  sometimes, the UI will freeze after deleting the first, sometimes after deleting the second.

  In every case where it does freeze, this error is logged just before
  it freezes:

  QQmlExpression: Attempted to evaluate an expression in an invalid
  context

  As comments, I'll post a few traces from running system-settings from
  the console on the desktop, with U1_DEBUG=1 loaded, which redirects
  QDebug() to stderr. (in case you're wondering where the output comes
  from).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-system-settings-online-accounts/+bug/1231729/+subscriptions