Reverse trust prompt hosting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtmir (Ubuntu) |
Triaged
|
High
|
Unassigned | ||
unity8 (Ubuntu) |
Triaged
|
High
|
Unassigned | ||
unity8 (Ubuntu RTM) |
Triaged
|
High
|
Unassigned |
Bug Description
In order to keep continuity, keeping this original bug rather than spawning a new one.
new description:
currently non ui process are asking for trust prompts from related focused ui's, example scopes ask for dash to host a prompt. however, it needs to be the other way around, with the ui process having a list of pid's that it can host for.
original description:
On the phone, a splash screen is shown as soon as QGuiApplication is instantiated; however, a QWindow might be created much later, or not be created at all.
We have for example a D-Bus service (ubuntu-
see below, that the original description was simply incorrectly using the default socket, instead of the trust socket. the default socket causes the splash screen, whereas the trust socket won't
Changed in qtmir: | |
status: | New → Confirmed |
Changed in unity8: | |
status: | New → Confirmed |
Changed in unity8 (Ubuntu): | |
status: | New → Confirmed |
no longer affects: | unity8 |
tags: | added: rtm14 |
Changed in qtmir: | |
importance: | Undecided → High |
Changed in unity8 (Ubuntu): | |
importance: | Undecided → High |
tags: | added: ota-2 |
Changed in qtmir: | |
assignee: | nobody → Josh Arenson (josharenson) |
Changed in unity8 (Ubuntu): | |
assignee: | nobody → Josh Arenson (josharenson) |
Changed in unity8 (Ubuntu RTM): | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Josh Arenson (josharenson) |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Canonical Devices Products (canonical-devices-products-team) |
importance: | Undecided → High |
milestone: | none → r1 |
status: | New → Confirmed |
description: | updated |
summary: |
- Splash screen is shown as soon as QGuiApplication is instantiated + Reverse trust prompt hosting |
Changed in canonical-devices-system-image: | |
milestone: | ww05-2015 → ww09-2015 |
no longer affects: | canonical-devices-system-image |
affects: | qtmir → qtmir (Ubuntu) |
There is also another scenario in which this is triggered, and it's not something that can be helped with some refactoring:
When an application needs an OAuth token, it talks to Online Accounts (OA) to get it. If OA doesn't have a cached token (or if it's expired), OA will create a WebView, and load the OAuth URL into it. Since we are saving the session cookies, it is possible that there is no need to interact with the user, and that the WebView will be automatically redirected to the URL where the OAuth token can be collected from. When this happens, we don't want to bother the user at all.
However, in order to run a WebView, we need a QGuiApplication, which will make a blak window appear for some seconds.