HUD not working under Mir

Bug #1236736 reported by Michał Sawicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
New
Undecided
Unassigned
Unity 8
Triaged
Undecided
Unassigned
unity-mir
Fix Committed
Undecided
Ricardo Mendoza
unity-mir (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Because of the different input workings, HUD does not work under Mir. It's either the shell, or the app that gets the events - not both, as is the case on surfaceflinger.

Related branches

Michał Sawicz (saviq)
Changed in unity8:
status: New → Triaged
Changed in unity-mir:
status: New → In Progress
assignee: nobody → Ricardo Mendoza (ricmm)
Revision history for this message
Michał Sawicz (saviq) wrote :

The quick solution seems to be enabling shell's surface to be an input monitor and using InputAreas as we do currently.

The long-term one would be to implement the shell as an input filter - allowing it to both receive and block events, in one go.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:unity-mir at revision 102, scheduled for release in unity-mir, milestone phone-v1-freeze

Changed in unity-mir:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-mir - 0.1+13.10.20131008.2-0ubuntu1

---------------
unity-mir (0.1+13.10.20131008.2-0ubuntu1) saucy; urgency=low

  [ Ricardo Mendoza ]
  * Add support for upstart-app-launch to request application resume &
    focus. This revealed extra work: prevent unexpected focus events
    propagating to shell, fix lifecycle bug and add workaround for
    handling of non-application sessions (like QtWebProcess and maliit).
    (LP: #1228345)
  * Make shell surface be an input monitor. (LP: #1236736, #1231713,
    #1233245)
  * Make sure we dont lose focus on the currently focused application
    when dismissing an invalid session startup. (LP: #1236789)

  [ Daniel d'Andrada ]
  * Do not let touches meant for the OSK hit the Shell components behind
    it. (LP: #1236773)

  [ Michał Sawicz ]
  * Map rect to scene in setMirInputArea and set the geometry onEnabled.
    (LP: #1235383, #1235215)
  * Focus the shell when no sessions are focused. It's difficult with
    the current architecture for the shell to receive keyboard focus, as
    it does not have an associated application session. Work around this
    by implementing a defaulting FocusSetter, which assigns keyboard
    focus to the shell surface when focus would otherwise be cleared.

  [ Robert Carr ]
  * Focus the shell when no sessions are focused. It's difficult with
    the current architecture for the shell to receive keyboard focus, as
    it does not have an associated application session. Work around this
    by implementing a defaulting FocusSetter, which assigns keyboard
    focus to the shell surface when focus would otherwise be cleared.

  [ Gerry Boland ]
  * Add support for upstart-app-launch to request application resume &
    focus. This revealed extra work: prevent unexpected focus events
    propagating to shell, fix lifecycle bug and add workaround for
    handling of non-application sessions (like QtWebProcess and maliit).
    (LP: #1228345)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 105
 -- Ubuntu daily release <email address hidden> Tue, 08 Oct 2013 19:14:08 +0000

Changed in unity-mir (Ubuntu):
status: New → Fix Released
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.