[regression] mouse pointer support on emulator is broken
Bug #1517597 reported by
Dave Morley
This bug affects 8 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Critical
|
kevin gunn | ||
Client Developer Experience |
Fix Released
|
Undecided
|
Unassigned | ||
Mir |
Fix Released
|
Critical
|
Kevin DuBois | ||
0.18 |
Won't Fix
|
Critical
|
Unassigned | ||
0.19 |
Won't Fix
|
Critical
|
Unassigned | ||
0.20 |
Fix Released
|
Critical
|
Kevin DuBois | ||
android (Ubuntu) |
Fix Released
|
Critical
|
Andreas Pokorny | ||
mir (Ubuntu) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
STEPS:
1. Flash with sudo ubuntu-emulator create --channel ubuntu-
2. Wait for it to build
3. Run with ubuntu-emulator run rc-test
4. Starts up but the mouse never moves meaning you can't leave the first page of the welcome wizard
EXPECTED:
I expect the emulator cursor to follow the mouse cursor and be able to click on things
ACTUAL:
Emulator cursors stay in the top left preventing movement.
As noted below F6 toggles the input mode.
The pointer movement is quite slow and jerky.
You also can no longer initiate an edge swipe even in trackball mode.
This is a major regression from how the emulator used to perform.
Related branches
lp:~kdub/mir/fix-1517597
- Andreas Pokorny (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Cemil Azizoglu (community): Approve
- Mir CI Bot: Approve (continuous-integration)
-
Diff: 184 lines (+47/-13)5 files modifiedsrc/platforms/android/server/fb_device.cpp (+14/-1)
tests/include/mir/test/doubles/mock_fb_hal_device.h (+4/-4)
tests/unit-tests/graphics/android/test_fb_device.cpp (+27/-6)
tests/unit-tests/graphics/android/test_hwc_fb_device.cpp (+1/-1)
tests/unit-tests/graphics/android/test_output_builder.cpp (+1/-1)
tags: | added: qa-regression-testing |
Changed in canonical-devices-system-image: | |
assignee: | nobody → kevin gunn (kgunn72) |
importance: | Undecided → High |
milestone: | none → ww02-2016 |
tags: | added: regression-proposed |
tags: | added: lt-blocker lt-category-visible |
Changed in mir (Ubuntu): | |
assignee: | nobody → Andreas Pokorny (andreas-pokorny) |
importance: | Undecided → High |
summary: |
- Ubuntu-emulator is broken on rc image 3 + mouse pointer support on emulator is broken |
description: | updated |
tags: | added: input regression |
Changed in mir: | |
milestone: | none → 0.19.0 |
importance: | Undecided → High |
summary: |
- mouse pointer support on emulator is broken + [regression] mouse pointer support on emulator is broken |
tags: | added: emulator |
Changed in mir: | |
status: | New → Confirmed |
Changed in mir (Ubuntu RTM): | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Andreas Pokorny (andreas-pokorny) |
Changed in mir: | |
assignee: | nobody → Andreas Pokorny (andreas-pokorny) |
Changed in canonical-devices-system-image: | |
status: | Incomplete → Confirmed |
Changed in canonical-devices-system-image: | |
importance: | High → Critical |
Changed in mir: | |
importance: | High → Critical |
Changed in android (Ubuntu): | |
importance: | High → Critical |
Changed in mir: | |
status: | Confirmed → Opinion |
no longer affects: | phablet-tools (Ubuntu) |
Changed in mir (Ubuntu): | |
status: | Confirmed → Opinion |
importance: | High → Critical |
tags: |
added: lt-important removed: lt-blocker |
Changed in mir: | |
milestone: | 0.19.0 → none |
status: | Opinion → Invalid |
Changed in mir (Ubuntu): | |
status: | Opinion → Invalid |
Changed in canonical-devices-system-image: | |
milestone: | ww02-2016 → ww08-2016 |
no longer affects: | android (Ubuntu RTM) |
Changed in mir: | |
milestone: | none → 0.21.0 |
Changed in mir: | |
status: | Fix Committed → Fix Released |
Changed in canonical-devices-system-image: | |
status: | Confirmed → Fix Committed |
Changed in mir: | |
status: | Fix Released → Fix Committed |
Changed in android (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in mir: | |
status: | Fix Committed → Fix Released |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
Changed in canonical-developer-experience: | |
status: | New → Fix Released |
To post a comment you must log in.
Here are actually three problem at work: /bugs.launchpad .net/mir/ +bug/1489522 ( in that bug two mouse devices are available, the one that claims to expose relative events never emits them) The actual cause might be in the emulator integration itself. input-evdev. So this will disappear with 0.18
* The input device exposed inside the emulator /dev/input/event0 only emit absolute coordinate events. We recently experienced something similar with other incarnation of qemu in kvm: https:/
* The input device only emits those event on mouse button down. WIthout pressing a mouse button the evdev device remains silent. Another emulator problem?
* The android input stack used in mir does not care about absolute mouse movement events. So even on mouse down it does not handle those events. The upcomig mir will, since it will default to mir-platform-
At the moment you can see the mouse moves when you change to the new stack: input-evdev3 ubuntu- touch-session/ usc-wrapper input-lib /usr/lib/ i386-linux- gnu/mir/ server- platform/ input-evdev. so.3 compositor
apt-get update && apt-get install mir-platform-
then edit /usr/share/
and add
--platform-
to the call to unity-system-