Actually, after investigating the situation (though unfortunately, I failed to reproduce this bug), I'm not sure that we should cahnge something in Online Accounts here. The authorisation prompt does not appear automatically: it only appears when a client invokes the exec() method of the OnlineAccountsClient::Setup object (or the QML equivalent). When online-accounts-service receives such a request, it either initiates the account creation (if there isn't yet an account of such type) or prompts the user to grant access to the existing account.
What I believe is happening here, is that for some reason the client is making the account request twice: the first time, we start the account creation; the second time, the prompt is shown. I will still keep the bug active, because we might want to be more robust and handle bogus requests more gracefully, but I think we have to first find out why we are getting to requests in the first place. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582824 Title: Pointless access request prompt To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1582824/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
