Shell doesn't know when base display config has changed
Bug #1644189 reported by
Gerry Boland
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Alan Griffiths | ||
MirAL |
In Progress
|
Medium
|
Alan Griffiths | ||
mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
qtmir (Ubuntu) |
Won't Fix
|
High
|
Unassigned |
Bug Description
Privileged clients can change the server base display configuration. Shell wants to know when the base config is committed to a valid config (as opposed to a preview), in order to save that config to disk, to be applied again on restart.
I cannot see any API for shell to learn when base config is changed.
Closest is the AuthorizingDisp
- base config set to new config (applied, not previewed)
Would also be nice to know:
- base config has changed to preview a new config
- base config preview cancelled
Related branches
lp://staging/~mir-team/qtmir/iteration-0-of-miral-PersistDisplayConfig
- Nick Dedekind (community): Approve
- Unity8 CI Bot (community): Approve (continuous-integration)
-
Diff: 316 lines (+225/-11)7 files modifiedsrc/platforms/mirserver/CMakeLists.txt (+3/-0)
src/platforms/mirserver/miral/CMakeLists.txt (+5/-0)
src/platforms/mirserver/miral/persist_display_config.cpp (+151/-0)
src/platforms/mirserver/miral/persist_display_config.h (+52/-0)
src/platforms/mirserver/mirdisplayconfigurationpolicy.cpp (+4/-8)
src/platforms/mirserver/mirdisplayconfigurationpolicy.h (+6/-2)
src/platforms/mirserver/qmirserver_p.cpp (+4/-1)
Superseded
for merging
into
lp://staging/~unity-team/qtmir/miral-qt-integration
- Nick Dedekind (community): Needs Information
-
Diff: 393 lines (+241/-24)11 files modifiedCMakeLists.txt (+0/-4)
debian/changelog (+17/-0)
src/modules/Unity/Application/application_manager.cpp (+2/-3)
src/modules/Unity/Application/application_manager.h (+1/-6)
src/platforms/mirserver/CMakeLists.txt (+3/-0)
src/platforms/mirserver/miral/CMakeLists.txt (+5/-0)
src/platforms/mirserver/miral/persist_display_config.cpp (+147/-0)
src/platforms/mirserver/miral/persist_display_config.h (+52/-0)
src/platforms/mirserver/mirdisplayconfigurationpolicy.cpp (+4/-8)
src/platforms/mirserver/mirdisplayconfigurationpolicy.h (+6/-2)
src/platforms/mirserver/qmirserver_p.cpp (+4/-1)
lp://staging/~alan-griffiths/mir/add-DisplayConfigurationObserver-base_configuration_updated
- Andreas Pokorny (community): Approve
- Kevin DuBois (community): Approve
- Mir CI Bot: Approve (continuous-integration)
-
Diff: 192 lines (+59/-4)8 files modifiedinclude/server/mir/graphics/display_configuration_observer.h (+7/-0)
src/server/graphics/display_configuration_observer_multiplexer.cpp (+6/-0)
src/server/graphics/display_configuration_observer_multiplexer.h (+2/-0)
src/server/report/logging/display_configuration_report.cpp (+11/-4)
src/server/report/logging/display_configuration_report.h (+2/-0)
src/server/scene/mediating_display_changer.cpp (+2/-0)
tests/acceptance-tests/test_nested_mir.cpp (+1/-0)
tests/unit-tests/scene/test_mediating_display_changer.cpp (+28/-0)
Changed in mir: | |
status: | New → In Progress |
assignee: | nobody → Alan Griffiths (alan-griffiths) |
milestone: | 0.25.0 → 0.26.0 |
Changed in miral: | |
milestone: | none → 0.5 |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Alan Griffiths (alan-griffiths) |
description: | updated |
description: | updated |
Changed in mir: | |
importance: | Critical → High |
Changed in miral: | |
importance: | Critical → High |
summary: |
- Shell wants to know when base display config has changed + Shell doesn't know when base display config has changed |
Changed in mir: | |
status: | Fix Committed → Fix Released |
affects: | qtmir → qtmir (Ubuntu) |
Changed in miral: | |
milestone: | none → 1.5 |
Changed in qtmir (Ubuntu): | |
assignee: | Alan Griffiths (alan-griffiths) → nobody |
status: | In Progress → Won't Fix |
Changed in miral: | |
milestone: | 1.5 → none |
To post a comment you must log in.
We need this in Unity8 to implement display state saving across reboots