Comment 15 for bug 1355173

Revision history for this message
MichaƂ Sawicz (saviq) wrote :

I'm reopening this for QtMir and Unity8 as this is still an issue. A smaller now that we have UOA working as a trusted prompt, but still we should not close the trusted prompts on unfocus.

I believe we should leave the prompt "management" to the trusted helper. It's the only one that can know if, and when, its prompt should be closed without user interaction. It might be a timeout (as is suggested for payments), or it could very well live forever.

Maybe we need a flag on a prompt that would define the behaviour? I.e. if a trusted helper is in its early days it'd be closed on unfocus because it can't handle multiple sessions at the same time, but if the helper can handle it by itself, it would say so starting the prompt and we'd let it manage its sessions.

We might need to handle the transitions if a prompt times out when in spread, for example, but that's visual polish.