[enhancement] There should be a quit signal sent to sessions instead of killing them directly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Alexandros Frantzis | ||
unity-mir |
Invalid
|
Medium
|
Unassigned | ||
mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
qtmir (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
unity-mir (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
The task manager currently kills (upstart-stops) the apps upon the user requesting it to stop. It should send a quit signal instead (and SIGCONT it first, if stopped), so that the app can shut down gracefully.
A method to forcefully quit the app is needed, too, if it's not responding (or maybe even just timeout-based).
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libunity-mir1 0.3+14.
ProcVersionSign
Uname: Linux 3.13.0-23-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Apr 8 09:17:00 2014
SourcePackage: unity-mir
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Alberto Aguirre (community): Approve
- Cemil Azizoglu (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Alan Griffiths: Approve
- Gerry Boland: Pending (functionality) requested
-
Diff: 477 lines (+135/-13)25 files modifiedclient-ABI-sha1sums (+1/-1)
common-ABI-sha1sums (+1/-1)
debian/control (+2/-2)
debian/libmirserver28.install (+1/-1)
include/common/mir_toolkit/event.h (+10/-1)
include/server/mir/scene/null_surface_observer.h (+1/-0)
include/server/mir/scene/surface.h (+2/-0)
include/server/mir/scene/surface_observer.h (+1/-0)
platform-ABI-sha1sums (+1/-1)
server-ABI-sha1sums (+4/-4)
src/client/rpc/mir_protobuf_rpc_channel.cpp (+4/-0)
src/include/server/mir/scene/surface_event_source.h (+1/-0)
src/server/CMakeLists.txt (+1/-1)
src/server/input/cursor_controller.cpp (+4/-0)
src/server/scene/basic_surface.cpp (+10/-0)
src/server/scene/basic_surface.h (+3/-0)
src/server/scene/legacy_surface_change_notification.cpp (+5/-0)
src/server/scene/legacy_surface_change_notification.h (+1/-0)
src/server/scene/null_surface_observer.cpp (+1/-0)
src/server/scene/surface_event_source.cpp (+11/-0)
src/server/symbols.map (+5/-1)
tests/acceptance-tests/test_client_surface_events.cpp (+14/-0)
tests/include/mir_test_doubles/stub_scene_surface.h (+2/-0)
tests/unit-tests/scene/test_basic_surface.cpp (+19/-0)
tests/unit-tests/scene/test_surface_impl.cpp (+30/-0)
Changed in unity-mir (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in unity-mir: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
affects: | ubuntu-system-settings (Ubuntu) → system-image (Ubuntu) |
Changed in mir: | |
assignee: | nobody → Alexandros Frantzis (afrantzis) |
milestone: | none → 0.10.0 |
status: | Triaged → Fix Committed |
Changed in mir: | |
status: | Fix Committed → Fix Released |
affects: | qtmir → qtmir (Ubuntu) |
I wonder if it should be lifecycle?