← Back to team overview

touch-packages team mailing list archive

[Bug 1483752] Re: Trusted prompts make application inactive: Qt.application.active == false

 

If you read https://wiki.ubuntu.com/Security/TrustStoreAndSessions
"From a lifetime perspective, the TPS ends whenever the TPP or its surface is dismissed. Similarly, if the session is terminated for any other reason, the TPP and its surface are dismissed, too. The app cannot exercise any sort of control in this scenario and is not even guaranteed to run.

Only after the trust session has ended, control is transferred back to
the app. More to this, while a TPS is active, focus mgmt. treats the
session as atomic and prevents the app from being refocused separately."

It seems that this could be impossible by design. However, it also seems
that the application remains active while the TPS is displayed, and only
switches to inactive when the TPS is closed (the app quickly switches
back to active, but I suppose this could be enough to break certain
things).

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

Title:
  Trusted prompts make application inactive: Qt.application.active ==
  false

Status in Canonical System Image:
  New
Status in unity8 package in Ubuntu:
  Confirmed

Bug description:
  When a trusted prompt shows up the application becomes "inactive",
  concretely QML applications receive a signal that
  Qt.application.active has changed to 'false'.

  This is will be an issue for example in the case of the camera-app
  trying to start recording a video, a pulseaudio trusted prompt will
  show up to ask for permission to record from the microphone but the
  camera-app believing that it's become inactive will immediately stop
  the recording.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1483752/+subscriptions


References