Can't use volume buttons in split greeter
Bug #1322339 reported by
Michael Terry
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
During testing of split greeter, Saviq noticed that the volume up/down buttons didn't work. Some digging discovered that the android input layer thought nothing was focused, so dropped the events. Also note that this only happens after maliit-server is running.
Digging into unity-mir, it seems we discard onSessionFocused events that don't relate to an application (like maliit-server was generating). But apparently, android-input is a little confused at that point, and there is code in the function for re-setting the focus for the focused app, but no code to handle the no-focused-app case.
Related branches
lp:~mterry/unity-mir/no-focus
- Gerry Boland (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Michał Sawicz: Needs Information
-
Diff: 53 lines (+32/-0)2 files modifiedsrc/modules/Unity/Application/application_manager.cpp (+2/-0)
tests/application_manager_test.cpp (+30/-0)
To post a comment you must log in.
This bug was fixed in the package unity-mir - 0.4+14. 10.20140526- 0ubuntu1
--------------- 10.20140526- 0ubuntu1) utopic; urgency=low
unity-mir (0.4+14.
[ Michael Terry ]
* Separate suspend logic from visibility logic, to allow top app to
remain visible even when suspended.
* If no app has focus when we get a un-actionable onSessionFocused
event, still re-set focus to the shell. (LP: #1322339)
[ Ubuntu daily release ]
* New rebuild forced
-- Ubuntu daily release <email address hidden> Mon, 26 May 2014 15:54:58 +0000