Need better session management for apps
Bug #1628589 reported by
Christopher Townsend
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Canonical System Image |
Triaged
|
High
|
Alejandro J. Cura | |||
Libertine | Status tracked in Devel | |||||
Devel |
Triaged
|
Medium
|
Unassigned | |||
Trunk |
Triaged
|
Medium
|
Unassigned | |||
libertine (Ubuntu) |
Triaged
|
Medium
|
Unassigned | |||
ubuntu-app-launch (Ubuntu) |
Confirmed
|
High
|
Unassigned | |||
unity8 (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
This is the master bug for better session management for apps. All other bugs affected by this will be dup'ed to this bug.
Currently, if a user closes an app using the 'X' button on the window, many bad things can happen including data loss.
If a user is editing a document and accidentally hits the X while the data is not saved, the user will not be prompted to save and the data will be lost.
Another example is Libertine helper apps can crash when Xmir is killed.
Changed in ubuntu-app-launch (Ubuntu): | |
importance: | Undecided → Medium |
Changed in libertine: | |
milestone: | 1.5 → 1.6 |
Changed in libertine: | |
milestone: | 1.6 → 1.7 |
Changed in canonical-devices-system-image: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Alejandro J. Cura (alecu) |
summary: |
- Need better session management for Libertine X apps + Need better session management for apps |
Changed in unity8 (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in ubuntu-app-launch (Ubuntu): | |
assignee: | nobody → Ted Gould (ted) |
importance: | Medium → High |
Changed in ubuntu-app-launch (Ubuntu): | |
assignee: | Ted Gould (ted) → nobody |
To post a comment you must log in.
For this, we should move the handling of starting and stopping Xmir into libertine-launch and out of ubuntu-app-launch.
Then, ubuntu-app-launch should send SIGTERM to the actual X app pid and wait for the Mir window(s) to be gone. When the windows are gone, but pids still exist, then u-a-l will send SIGKILL to any remaining pids.