Keyboard stays open on lock screen / Unity8 doesn't unfocus app when switching to lock screen first time

Bug #1493872 reported by danjjl
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Confirmed
High
Bill Filler
unity8 (Ubuntu)
Confirmed
High
Unassigned

Bug Description

If the screen is locked after an application has been first opened unity doesn't remove focus from the app. It does remove focus on subsequent screen locks. This results in the keyboard not being dismissed if it was displayed prior to the screen being locked.

Steps to reproduce:

- Open the messaging app
- Start composing a message
- Lock the screen using the power button (or waiting for your automatic screen lock timeout)
- Wake the phone by briefly pressing the power button

Result: the keyboard is still overlayed on top of the lock screen. (see attachment)

Expected result: the keyboard is not shown on the lock screen.

This can also be seen in the application log (e.g. ~/.cache/upstart/application-legacy-messaging-app-.log), where you would expect to see the message:

UbuntuWindow::handleSurfaceFocusChange(focused=false)

Indicating that focus has been removed from the app, however this doesn't happen the first time you lock the screen after starting the app, only on subsequent locks.

---

OS build number: 234
Ubuntu Image part: 20150908
Ubuntu build description: Ubuntu 15.04 - armhf (20150908-020305)
Device Image part: 20150819
Device build description: aosp_mako-userdebug 4.4.2 KOT49H 20150818-1500-0ubuntu1 test-keys
Customisation Image part: 20150908

Revision history for this message
danjjl (danjjl) wrote :
Cris Dywan (kalikiana)
affects: ubuntu-ui-toolkit (Ubuntu) → ubuntu-keyboard (Ubuntu)
Revision history for this message
Bill Filler (bfiller) wrote :

I have been seeing this a fair amount as well on rc-proposed on arale, but it's not reproducible all the time.

Changed in ubuntu-keyboard (Ubuntu):
assignee: nobody → Michael Sheldon (michael-sheldon)
importance: Undecided → High
Changed in canonical-devices-system-image:
milestone: none → ww40-2015
assignee: nobody → Bill Filler (bfiller)
importance: Undecided → High
Changed in ubuntu-keyboard (Ubuntu):
status: New → Confirmed
Changed in canonical-devices-system-image:
status: New → Confirmed
summary: - Keyboard stays open on lock screen
+ Keyboard stays open on lock screen / Unity8 doesn't unfocus app when
+ switching to lock screen first time
description: updated
affects: ubuntu-keyboard (Ubuntu) → unity8 (Ubuntu)
Changed in unity8 (Ubuntu):
assignee: Michael Sheldon (michael-sheldon) → nobody
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.