← Back to team overview

touch-packages team mailing list archive

[Bug 1355173] Re: Switching windows with a Trusted Prompt Session active loses the trusted prompt session

 

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.

-- 
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/1355173

Title:
  Switching windows with a Trusted Prompt Session active loses the
  trusted prompt session

Status in Qt integration with the Mir display server:
  Triaged
Status in Online Accounts setup for Ubuntu Touch:
  Fix Released
Status in “ubuntu-system-settings-online-accounts” package in Ubuntu:
  New
Status in “unity8” package in Ubuntu:
  Triaged

Bug description:
  
  When we create a trusted prompt session over an application, let's say a small dialog, and then switch applications, when we switch back to the original application the dialog is not overlayed on top of the original application. The program providing the dialog seems happy, and is still running, but visually it is not there.

  We notice this when using the payments UI which overlays ontop of the
  dash. In some cases we need to show Online Accounts which runs as an
  independent application and causes a switching behavior. When
  returning back to the dash the Payment UI is not visible. It also
  happens if the Payment UI is visible and you switch applications using
  the right swipe.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qtmir/+bug/1355173/+subscriptions