The MirDisplayConfiguration returned on the client can be incorrect
Bug #1491937 reported by
Alan Griffiths
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Alan Griffiths | ||
mir (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Assume that a client has the active surface and reconfigures the display.
The server receives a configure_display() request, queues a change to be executed on the main loop, and returns the current active display configuration.
Note that it *does not* wait for the main loop to service the change request so the active configuration can be the one prior to the change.
The client caches this configuration and will return it from mir_connection_
One might hope the client would get a notification via mir_connection_
Related branches
lp:~alan-griffiths/mir/fix-1491937
- Andreas Pokorny (community): Approve
- Alexandros Frantzis (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 352 lines (+80/-55)5 files modifiedsrc/server/graphics/nested/mir_client_host_connection.cpp (+1/-1)
src/server/scene/mediating_display_changer.cpp (+21/-6)
tests/acceptance-tests/test_nested_mir.cpp (+34/-0)
tests/include/mir/test/doubles/stub_display.h (+15/-1)
tests/unit-tests/scene/test_mediating_display_changer.cpp (+9/-47)
Changed in mir: | |
assignee: | nobody → Alan Griffiths (alan-griffiths) |
importance: | Undecided → Medium |
milestone: | none → 0.16.0 |
tags: | added: multimonitor |
Changed in mir: | |
status: | New → In Progress |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.16.0