[regression] Dragging windows by the titlebar is incredibly slow and laggy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Alan Griffiths | ||
mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Vivid |
New
|
Undecided
|
Unassigned |
Bug Description
[regression] Dragging windows by the titlebar is incredibly slow and laggy.
Test case:
1. mir_demo_server
2. mir_demo_client_...
3. Drag the client by the titlebar
Expected: Window moves in response to the mouse.
Observed: Titlebar turns dark grey, window hardly moves, only very slowly.
Strangely Alt+drag is still fast so the slowness is related to the titlebar changing colour.
I've bisected the problem and it was introduced in:
-------
revno: 2563 [merge]
author: Alan Griffiths <email address hidden>
committer: Tarmac
branch nick: development-branch
timestamp: Mon 2015-05-11 17:14:31 +0000
message:
examples: repaint the titlebar to give an indicate the (in)active status of a surface.
Approved by Kevin DuBois, PS Jenkins bot.
-------
Also worth noting I have my mouse configured for 1000Hz instead of the default 125Hz (usbhid.mousepoll kernel parameter). But of course it should still be responsive.
Related branches
- Daniel van Vugt: Approve
- Kevin DuBois (community): Approve
- Alexandros Frantzis (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 225 lines (+72/-44)4 files modifiedexamples/server_example_canonical_window_manager.cpp (+18/-7)
src/server/shell/abstract_shell.cpp (+30/-24)
src/server/shell/canonical_window_manager.cpp (+21/-9)
tests/integration-tests/test_default_window_manager.cpp (+3/-4)
Changed in mir: | |
status: | New → Triaged |
Changed in mir: | |
status: | Triaged → Confirmed |
assignee: | nobody → Alan Griffiths (alan-griffiths) |
Changed in mir: | |
status: | Confirmed → In Progress |
Changed in mir: | |
milestone: | none → 0.14.0 |
Changed in mir: | |
status: | Fix Committed → Fix Released |
Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.14.0