API to bring down the session
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-mir (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
unity8 (Ubuntu) |
Fix Released
|
Critical
|
Ying-Chun Liu |
Bug Description
<blue sky>
For the desktop session we need a way to tell Unity to signal all the apps that they should do a final save, shut them off, do it's own final save and start bringing down the session.
</blue sky>
<reality>
There's not time for that, and we need to get something that won't paint us into a corner, but yet allows for getting to the blue sky above eventually. For today we just need a way for people to get out of their session so they can get their desktop back to LightDM without powering off.
What I'm proposing is that we add a function to the Unity DBus API for "RequestSession
</reality>
Related branches
- Michał Sawicz: Approve
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Daniel d'Andrada (community): Approve
- Albert Astals Cid (community): Needs Fixing
-
Diff: 418 lines (+334/-0)12 files modifiedplugins/Unity/CMakeLists.txt (+1/-0)
plugins/Unity/Session/CMakeLists.txt (+17/-0)
plugins/Unity/Session/dbusunitysessionservice.cpp (+46/-0)
plugins/Unity/Session/dbusunitysessionservice.h (+82/-0)
plugins/Unity/Session/plugin.cpp (+40/-0)
plugins/Unity/Session/plugin.h (+34/-0)
plugins/Unity/Session/qmldir (+3/-0)
qml/Shell.qml (+25/-0)
src/main.cpp (+1/-0)
tests/plugins/Unity/CMakeLists.txt (+1/-0)
tests/plugins/Unity/Session/CMakeLists.txt (+20/-0)
tests/plugins/Unity/Session/sessionbackendtest.cpp (+64/-0)
- Daniel d'Andrada (community): Disapprove
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 243 lines (+163/-0)5 files modifiedsrc/modules/Unity/Application/CMakeLists.txt (+2/-0)
src/modules/Unity/Application/application_manager.cpp (+17/-0)
src/modules/Unity/Application/application_manager.h (+4/-0)
src/modules/Unity/Application/dbusunitysessionservice.cpp (+52/-0)
src/modules/Unity/Application/dbusunitysessionservice.h (+88/-0)
Changed in unity8: | |
assignee: | nobody → Michał Sawicz (saviq) |
Changed in unity8: | |
status: | Triaged → In Progress |
Changed in unity8: | |
status: | In Progress → Fix Released |
Changed in unity-mir (Ubuntu): | |
status: | In Progress → Invalid |
Changed in unity8 (Ubuntu): | |
assignee: | nobody → Ying-Chun Liu (paulliu) |
importance: | Undecided → Critical |
no longer affects: | unity8 |
How does it happen in unity7 atm?