Some more observations / remarks:
- I cannot reproduce it with Facebook scope (which uses similiar auth scenario
- i.e. a special card in the scope search results, as opposed to authentication
from a preview).
- I cannot reproduce it with Ubuntu Store scope (which uses different auth
scenario - from a preview).
- I'm able to reproduce with Youtube scope every time.
In all authentication scenarios the dash calls into online accounts api.
For the duration of authentication (i.e. when the auth prompt is
displayed), the dash runs a QEventLoop with disabled input processing,
so that it's not possible to interact with the dash until auth fails or
succeeds:
QEventLoop loop;
connect(&future_watcher, &QFutureWatcher<void>::finished, &loop,
&QEventLoop::quit);
loop.exec(QEventLoop::ProcessEventsFlag::ExcludeUserInputEvents);
This loop is stopped as soon as auth API finishes processing the prompt
(see http://bazaar.launchpad.net/~unity-team/unity-scopes-
shell/trunk/view/head:/src/Unity/logintoaccount.cpp).
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1534541
Title:
Dash doesn't accept input (appears frozen) after youtube scope auth
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1534541/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs