Mir On X (mesa-x11) keeps receiving mouse movement events even when not focused
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Alan Griffiths | ||
mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Mir On X (mesa-x11) keeps receiving mouse movement events even when not focused.
Move the mouse outside the Mir On X window and the internal cursor keeps moving. Even click outside the window and the Mir cursor in the window keeps moving.
Confirmed this happens in Mir 0.17.1 and still in Mir 0.20.0 too so it's not a new problem with the new input stack.
This is the log output when running sudo ./bin/mir_
[2016-02-17 08:42:39.905329] mirserver: Selected input driver: mir:x11-input (version: 0.20.0)
[2016-02-17 08:42:39.938897] mirserver: Selected input driver: mir:evdev-input (version: 0.20.0)
But to get to that situation probing of both platforms must succeed. That should only happen when you run a mir server as root within an x11 terminal without specifying a vt.
Related branches
- Daniel van Vugt: Abstain
- Mir CI Bot: Approve (continuous-integration)
- Cemil Azizoglu (community): Approve
- Kevin DuBois (community): Approve
-
Diff: 183 lines (+35/-33)4 files modifiedsrc/include/server/mir/input/input_probe.h (+1/-2)
src/server/input/default_configuration.cpp (+2/-6)
src/server/input/input_probe.cpp (+22/-15)
tests/unit-tests/input/test_input_platform_probing.cpp (+10/-10)
tags: | added: input |
summary: |
- Mir On X (mesa-x11) keeps receiving mouse movement events even when no + Mir On X (mesa-x11) keeps receiving mouse movement events even when not focused |
description: | updated |
description: | updated |
Changed in mir: | |
status: | New → Triaged |
summary: |
- Mir On X (mesa-x11) keeps receiving mouse movement events even when not - focused + When running Mir with root permission from a x11 terminal x11-input and + evdev-input are used |
summary: |
- When running Mir with root permission from a x11 terminal x11-input and - evdev-input are used + Running Mir with root permissions causes in x11 causes x11-input and + evdev-input to be used |
summary: |
- Running Mir with root permissions causes in x11 causes x11-input and - evdev-input to be used + Running Mir with root permissions in x11 causes x11-input and evdev- + input to be used |
Changed in mir: | |
importance: | Undecided → Medium |
Changed in mir: | |
assignee: | nobody → Alan Griffiths (alan-griffiths) |
status: | Triaged → In Progress |
Changed in mir: | |
milestone: | none → 0.21.0 |
Changed in mir: | |
status: | Fix Committed → Fix Released |
Thanks for figuring that out. I prefer the title of the bug to be in terms of what the user sees though, and not a description of the root cause.