Setting MirWindowSpec parameters always causes window's input_region to be reset
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Committed
|
High
|
Stephen M. Webb | ||
Mir |
Fix Committed
|
High
|
Kevin DuBois | ||
0.26 |
Triaged
|
High
|
Kevin DuBois | ||
MirAL |
Invalid
|
Undecided
|
Unassigned | ||
mir (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
I've made a quick demo to reproduce this:
https:/
1. launch any mir demo server
2. launch the above demo
3. press 'c' to set the cursor of the window, cursor should become a cross over the window.
4. press 'm' to set the input region as a subset of the window. You can observe the input region by moving the cursor over the window, cursor will be a cross inside the specified region. You can click too, will cause client to print "click"
5. press 'c' again.
Expected result
no change
Actual result
Input region of surface appears to be reset - cursor is a cross over the entire window.
I've noticed this behaviour only after this update to QtUbuntu:
https:/
so suspect a bug with the new api only.
Related branches
- Gerry Boland (community): Approve (functional)
- Mir CI Bot: Approve (continuous-integration)
- Alan Griffiths: Approve
-
Diff: 124 lines (+74/-2)4 files modifiedsrc/server/frontend/session_mediator.cpp (+2/-1)
src/server/shell/surface_specification.cpp (+3/-1)
tests/acceptance-tests/test_custom_window_management.cpp (+47/-0)
tests/unit-tests/frontend/test_session_mediator.cpp (+22/-0)
- Michał Sawicz: Disapprove
-
Diff: 13 lines (+6/-0)1 file modifieddebian/changelog (+6/-0)
Changed in mir: | |
importance: | Undecided → High |
milestone: | none → 1.0.0 |
Changed in mir: | |
status: | New → Confirmed |
assignee: | nobody → Kevin DuBois (kdub) |
Changed in mir: | |
status: | Confirmed → In Progress |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Stephen M. Webb (bregma) |
importance: | Undecided → High |
status: | New → In Progress |
milestone: | none → u8c-1 |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in mir (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
So is this a regression or a problem with the new Mir interfaces? Certainly at a higher level, symptom bug 1669444 is a regression.