The MirDisplayConfiguration returned on the client can be incorrect - part 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Alan Griffiths | ||
mir (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Assume that a client is not the active session and reconfigures the display.
The server receives a configure_display() request, notes the config the client wants to use and returns the current active display configuration.
Note that it *does not* change the display configuration.
The client caches this "active" configuration and will return it from mir_connection_
If the client later becomes the active session the display is reconfigured according to the request.
But as no notification is sent to any clients (including the one that made the request) the old "active" configuration is still the one returned by mir_connection_
NB this is related to, but a different scenario to lp:1491937
Related branches
- Chris Halse Rogers: Approve
- Kevin DuBois (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 64 lines (+42/-0)2 files modifiedsrc/server/scene/mediating_display_changer.cpp (+2/-0)
tests/acceptance-tests/test_nested_mir.cpp (+40/-0)
Changed in mir: | |
status: | New → In Progress |
assignee: | nobody → Alan Griffiths (alan-griffiths) |
milestone: | none → 0.16.0 |
importance: | Undecided → Medium |
Changed in mir: | |
status: | Fix Committed → Fix Released |
Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.16.0