[Bug 1577002] Re: Running app from QtCreator wipes associated accounts
** Also affects: canonical-developer-experience Importance: Undecided Status: New ** Changed in: canonical-developer-experience Status: New => Invalid ** Changed in: canonical-developer-experience Assignee: (unassigned) => Zoltan Balogh (bzoltan) ** Changed in: canonical-developer-experience Importance: Undecided => High ** Changed in: canonical-developer-experience Status: Invalid => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577002 Title: Running app from QtCreator wipes associated accounts To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1577002/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577002] Re: Running app from QtCreator wipes associated accounts
This is a valid case and an severe problem. But it is not a Developer Experience bug. The SDK is following what the scope framework does. The SDK will stop uninstalling the click packages once it is possible to properly upgrade scopes and apparmor profile changes. ** No longer affects: canonical-developer-experience -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577002 Title: Running app from QtCreator wipes associated accounts To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-system-settings-online-accounts/+bug/1577002/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577002] Re: Running app from QtCreator wipes associated accounts
Here's a summary of this: * the SDK needs to uninstall apps before deploying because of mainly 2 reasons: -> scopes cannot be restarted otherwise -> apparmor profile changes are not registered by apparmor otherwise * OA thinks it must clear all the credentials when an app using them is uninstalled -> This is due to bug 1358294 which afaict hasn't reached a conclusion either because of different opinions. OA developers are of the opinion that data should be removed upon uninstallation. The combination of those two leaves us with this issue. The solutions could be any of: a) Fix the scopes framework and apparmor to restart/reparse things when an app is re-installed without prior removal b) don't delete account data on app removal While I personally am of the opinion that anything created by the user (including account data) should *never* be deleted without the user triggering that explicitly himself, it seems a) would be the more correct solution. Adding scopes and apparmor to this bug. ** Also affects: unity-scopes-api (Ubuntu) Importance: Undecided Status: New ** Also affects: apparmor (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577002 Title: Running app from QtCreator wipes associated accounts To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1577002/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577002] Re: Running app from QtCreator wipes associated accounts
** No longer affects: qtcreator-plugin-ubuntu (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577002 Title: Running app from QtCreator wipes associated accounts To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1577002/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577002] Re: Running app from QtCreator wipes associated accounts
The behaviour is correct: accounts are configuration data, and should be removed as described in bug 1358294. (Rodney, I can see that you disagree, but until you convince design that this is wrong, this is going to stay as it is now) See also bug 1499971 and 1358294. Note that the accounts we are talking about here are only those whose plugin was shipped by the application itself. The solution for this bug is described in comment #3. ** Changed in: ubuntu-system-settings-online-accounts Status: Confirmed => Invalid ** Changed in: qtcreator-plugin-ubuntu (Ubuntu) Status: Invalid => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577002 Title: Running app from QtCreator wipes associated accounts To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1577002/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577002] Re: Running app from QtCreator wipes associated accounts
** Changed in: canonical-developer-experience Importance: Undecided => High ** Changed in: canonical-developer-experience Status: New => Confirmed ** Changed in: canonical-developer-experience Assignee: (unassigned) => David Barth (dbarth) ** Changed in: ubuntu-system-settings-online-accounts Importance: Undecided => High ** Changed in: ubuntu-system-settings-online-accounts Assignee: (unassigned) => Alberto Mardegan (mardy) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577002 Title: Running app from QtCreator wipes associated accounts To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1577002/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577002] Re: Running app from QtCreator wipes associated accounts
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: qtcreator-plugin-ubuntu (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577002 Title: Running app from QtCreator wipes associated accounts To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1577002/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577002] Re: Running app from QtCreator wipes associated accounts
** Changed in: qtcreator-plugin-ubuntu (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577002 Title: Running app from QtCreator wipes associated accounts To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1577002/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577002] Re: Running app from QtCreator wipes associated accounts
This is a bug in online-accounts. I just verified on my phone with Untappd. When uninstalling the application, online-accounts is somehow triggered and deletes the account, as there are no more applications currently using it. This is in error, as uninstalling an app should not delete user data, of which the account is. I think this is a regression too, as I don't remember that it used to do this. If the UI is unable to display an account because the plug-in is no longer available, that is fine, but I don't think it should be deleted from the database. ** Changed in: ubuntu-system-settings-online-accounts Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577002 Title: Running app from QtCreator wipes associated accounts To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1577002/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577002] Re: Running app from QtCreator wipes associated accounts
After quickly checking the app launcher that is used by the SDK IDE it turns out that we have to uninstall the application if it is already installed. This workaround was required to support scopes. Since there is no other way to make sure a scope is stopped , so that the next query would use the newly installed binary, it was the only possibility to make it work. So I would suggest that either the reinstall of a scope should make sure the currently installed scope is properly reset, or alternatively provide a DBUS callback to "stop" a scope. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577002 Title: Running app from QtCreator wipes associated accounts To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1577002/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577002] Re: Running app from QtCreator wipes associated accounts
Ok. I tried to manually install pkcon. it does not wipe the account. I have "Uninstall application after it finished" unchecked in QtCreator. Verified that the application does stay around. Nevertheless, upon a reinstall with QtC the account is wiped. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577002 Title: Running app from QtCreator wipes associated accounts To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1577002/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1577002] Re: Running app from QtCreator wipes associated accounts
See bug 1454210 for history :-) Michael, can you please try installing the newer version of the package with pkcon, without using QtCreator? Just to understand whether the issue is in Online Accounts or Qtc. ** Changed in: ubuntu-system-settings-online-accounts Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577002 Title: Running app from QtCreator wipes associated accounts To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-developer-experience/+bug/1577002/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs