Shell needs to unfocus app when greeter is shown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
touch-preview-images |
Fix Released
|
High
|
Michał Sawicz | ||
unity8 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When the greeter is shown, either from screen timeout trigger or user pressing the power button, the shell needs to unfocus the currently focused app. Otherwise, if the app has focus and the keyboard is displayed it will stay displayed when the greeter is shown on power button event.
According to ricmm, the following needs to be done:
Shell needs to call unfocusCurrentA
ricmm:
This comes in addition to a QtUbuntu branch that will cause a dismissal of the QInputPanel in the delegate for transition to the SUSPENDED state, effectively dismissing the keyboard and removing input focus from any active text field.
Related branches
- Michael Frey (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 14 lines (+2/-2)1 file modifiedsrc/platforms/ubuntu/integration.cc (+2/-2)
- PS Jenkins bot (community): Approve (continuous-integration)
- Sergio Schvezov: Approve
- Ricardo Mendoza (community): Approve
-
Diff: 33 lines (+22/-1)1 file modifiedShell.qml (+22/-1)
Changed in touch-preview-images: | |
milestone: | none → ubuntu-13.05 |
assignee: | nobody → Gerry Boland (gerboland) |
importance: | Undecided → High |
Changed in unity: | |
assignee: | nobody → Gerry Boland (gerboland) |
description: | updated |
Changed in touch-preview-images: | |
status: | Confirmed → Fix Committed |
Changed in unity: | |
status: | Confirmed → Fix Committed |
Changed in unity: | |
status: | Fix Committed → Confirmed |
Changed in touch-preview-images: | |
status: | Fix Committed → Confirmed |
Changed in unity: | |
status: | Confirmed → In Progress |
Changed in touch-preview-images: | |
status: | Confirmed → In Progress |
Changed in touch-preview-images: | |
status: | In Progress → Fix Released |
no longer affects: | unity |
no longer affects: | unity/phablet |
Changed in unity8: | |
status: | New → Fix Released |
affects: | unity8 → unity8 (Ubuntu) |
@ricmm I had a quick look and calling unfocusCurrentA pplication( ) nor unfocusCurrentA pplication( ApplicationInfo ::MainStage) actually did unfocus the app (it was still there in ApplicationMana ger.mainStageFo cusedApplicatio n).
Any ideas?