trust prompt should hide the OSK

Bug #1533781 reported by Tiago Salem Herrmann
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Triaged
High
Michał Sawicz
trust-store (Ubuntu)
Invalid
High
Thomas Voß
unity8 (Ubuntu)
Triaged
High
Nick Dedekind

Bug Description

In messaging-app we have a problem that we can't hide the osk while the trust prompt is being displayed.
I assume that's because the main thread of the app gets blocked until the trust prompt is closed.

I believe trust-prompt should hide the keyboard itself as other apps will hit the very same problem.

Revision history for this message
Bill Filler (bfiller) wrote :

The use case that is not working in the messaging-app is as follows:
- user starts to compose a message
- osk is visible
- they press the microphone button

Expected results:
- OSK gets closed
- trust-store prompt is fully visible

Actual results:
- OSK stays open
- trust-store prompt is partially obscured by OSK

Changed in trust-store (Ubuntu):
importance: Undecided → High
Changed in canonical-devices-system-image:
milestone: none → ww08-2016
importance: Undecided → High
Changed in trust-store (Ubuntu):
assignee: nobody → Thomas Voß (thomas-voss)
Changed in canonical-devices-system-image:
assignee: nobody → kevin gunn (kgunn72)
Revision history for this message
Thomas Voß (thomas-voss) wrote :

Please note that the trust-prompt does have no impact on the app being stuck or not. It's a completely different executable that runs in a separate process. The reason apps are getting stuck is that they access system services in a blocking fashion from their main thread. With that, we should either adjust the Qt backend implementations to support async access to the respective services or the apps should move the respective Qt components to a different thread.

Neither trust-store nor mir/unity8 is affected here.

Changed in trust-store (Ubuntu):
status: New → Invalid
Revision history for this message
Thomas Voß (thomas-voss) wrote :

Correcting my previous comment: It's probably best if U8 consistently hides the OSK whenever a trust prompt is displayed.

no longer affects: trust-store
Revision history for this message
Bill Filler (bfiller) wrote :

just to re-iterate, the app is not blocked and the keyboard can still be manually swiped away, but better if Unity8 could first close osk before displaying trust prompt

Changed in unity8:
importance: Undecided → High
assignee: nobody → Michał Sawicz (saviq)
Revision history for this message
Michał Sawicz (saviq) wrote :

Yeah it sounds like we should unfocus the surface when we know a trust prompt is coming.

affects: unity8 → unity8 (Ubuntu)
Changed in unity8 (Ubuntu):
status: New → Triaged
Changed in canonical-devices-system-image:
status: New → Triaged
assignee: kevin gunn (kgunn72) → Michał Sawicz (saviq)
Changed in unity8 (Ubuntu):
assignee: Michał Sawicz (saviq) → Nick Dedekind (nick-dedekind)
Revision history for this message
Michał Sawicz (saviq) wrote :

@Nick, can you think of a problem with ↑? I remember we chatted about something like that at some point in the past...

Michał Sawicz (saviq)
Changed in canonical-devices-system-image:
milestone: ww08-2016 → 11
Michał Sawicz (saviq)
Changed in canonical-devices-system-image:
milestone: 11 → 12
Michał Sawicz (saviq)
Changed in canonical-devices-system-image:
milestone: 12 → backlog
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.