← Back to team overview

touch-packages team mailing list archive

[Bug 1373966] Re: Trusted prompt sessions get stuck on screen blank

 

While the trusted helper should control the lifecycle of the prompt
provider suspending an app can't stop the trust session, that simply
doesn't work. There are a number of cases where we need the app to be
suspended, and the trust prompt provider can be suspended as well, but
it the relationship must remain valid. One of those is buying something.
If you're in the middle of buying something and someone walks into the
room, your screen turns off while you're talking to them, you should be
able to turn back on the screen and continue with where you've left off.
The fact that the app is suspended in that case shouldn't be visible to
the user in anyway.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1373966

Title:
  Trusted prompt sessions get stuck on screen blank

Status in “unity8” package in Ubuntu:
  Triaged

Bug description:
  When a trusted prompt session is open on top of the dash, and the
  screen is blanked (either via timeout or pressing the power button to
  turn it off), the app which is running in the prompt session
  disappears upon turning the screen back on. In some cases, this leaves
  the dash in a state where the user is unable to interact with it, and
  the only recourse is to reboot or run "restart unity8-dash" if the
  Terminal or an adb shell are available. In some cases, this also
  leaves the app which was in the trusted prompt session, running in the
  background, and it will not get terminated by the system.

  To reproduce:

  1: Go to the YouTube scope.
  2: Scroll to the bottom of the results and tap the "Log-in to YouTube" result entry.
  3: When the online-accounts-ui opens up, turn the screen off.
  4: Turn the screen back on and notice the login window for YouTube is gone, and the dash cannot be interacted with.

  So far, I've only been able to do this in the dash, either with the
  YouTube log-in, or with the app purchasing flow (which is slightly
  more complex to test).

  When reproducing this in ubuntu-system-settings-online-accounts, the
  new account login window goes away, but it is still possible to
  interact with the system-settings UI, so the user can recover by
  trying to add the account again, or just quitting system settings.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1373966/+subscriptions


References