[android] input coordinates are scaled incorrectly when an external display is connected
Bug #1498540 reported by
Alberto Aguirre
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Alberto Aguirre | ||
mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When starting a mir server when an external display is already connected, the dispatched touch input coordinates appear to be scaled to different size than the local screen (probably the size of the external display).
Input coordinates are scaled correctly if the external display is hotplugged after starting the server.
Related branches
lp://qastaging/~albaguirre/mir/fix-1498540
- Alan Griffiths: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Alexandros Frantzis (community): Approve
-
Diff: 30 lines (+7/-2)2 files modifiedsrc/server/input/display_input_region.cpp (+6/-1)
tests/unit-tests/input/test_display_input_region.cpp (+1/-1)
Changed in mir: | |
importance: | Undecided → High |
description: | updated |
Changed in mir: | |
assignee: | nobody → Alberto Aguirre (albaguirre) |
Changed in mir: | |
status: | New → In Progress |
tags: | added: input |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The following demonstrates the issue:
sudo mir_demo_server --arw-file --display- config= sidebyside --window-manager system-compositor config= sidebyside client_ fingerpaint -m /tmp/nested_mir
mir_demo_server --host-socket /tmp/mir_socket -f /tmp/nested_mir --display-
mir_demo_