x11 platform: mouse cursor moves strange
Bug #1546324 reported by
Andreas Pokorny
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Andreas Pokorny | ||
mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Mouse only seems to update its position on click events. Additionally cursor movement is delayed - mir server seems to fall behind the xserver in processing events.
Related branches
lp://qastaging/~andreas-pokorny/mir/fix-1546324
- Mir CI Bot: Approve (continuous-integration)
- Alexandros Frantzis (community): Approve
- Cemil Azizoglu (community): Approve
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
-
Diff: 725 lines (+355/-228)6 files modifiedsrc/platforms/mesa/server/x11/input/input_device.cpp (+137/-1)
src/platforms/mesa/server/x11/input/input_device.h (+14/-1)
src/platforms/mesa/server/x11/input/input_platform.cpp (+165/-226)
tests/include/mir/test/doubles/mock_x11.h (+2/-0)
tests/mir_test_doubles/mock_x11.cpp (+15/-0)
tests/unit-tests/input/test_x11_platform.cpp (+22/-0)
tags: | added: input |
Changed in mir: | |
status: | New → In Progress |
milestone: | none → 0.21.0 |
importance: | Undecided → Medium |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Mir could fall behind the X server if it's trying to process one input even per frame with swap interval = 1. That's one reason why we have input resampling for clients. But this is a server, so to avoid the same issue we'd need to add new logic to decouple the input rate from the frame rate. See mir_demo_ client_ target and mir_demo_ client_ fingerpaint for examples of clients doing that.