[android] input is not dispatched when attaching an external monitor
Bug #1498045 reported by
Alberto Aguirre
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Alberto Aguirre | ||
mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Touch input stops being dispatched when connecting an external monitor on android based devices.
Related branches
lp://qastaging/~albaguirre/mir/fix-1498045
- PS Jenkins bot (community): Approve (continuous-integration)
- Kevin DuBois (community): Approve
- Alan Griffiths: Approve
-
Diff: 72 lines (+26/-9)1 file modifiedsrc/server/compositor/multi_threaded_compositor.cpp (+26/-9)
Changed in mir: | |
milestone: | none → 0.17.0 |
status: | New → In Progress |
assignee: | nobody → Alberto Aguirre (albaguirre) |
tags: | added: android input multimonitor |
Changed in mir: | |
importance: | Critical → High |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Only touch input is affected. Keys (like volume) are still dispatched.
it's an issue with how we composite with DisplayGroups. We use a single compositor ID, which then makes the RenderingTracker toggle surface visibility on/off.
The RenderingTracker is intended to track if a surface is occluded in all monitors to properly update the surface visibility status. However, since a singe compositor ID is used, the RenderingTracker then incorrectly determines the surface is not visible anywhere after the second composition pass.