Add a 'quit' message that is app-wide, as opposed to mir_event_type_close_surface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Triaged
|
Medium
|
Unassigned | ||
mir (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
qtmir (Ubuntu) |
Confirmed
|
Medium
|
Unassigned | ||
unity8 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Currently in unity8, when requesting to "Quit" a running application from the launcher, what happens is that qtmir goes through all its associated windows/surfaces, and closes them one by one. Supposedly, when the last window is closed, the application terminates itself (but this is not necessarily the case, see https:/
This prevents application authors from doing proper cleanup before the app is closed. For example in Qt, the QCoreApplicatio
This is similar to unity7’s implementation by the way, but I think it’s wrong. Surely there must be a way (maybe toolkit-specific) to request an app to terminate itself (and fall back to closing all windows if not).
Changed in mir: | |
importance: | Undecided → Medium |
Changed in mir (Ubuntu): | |
importance: | Undecided → Medium |
summary: |
- Closing an application doesn’t actually close it, it merely requests all - its windows to be closed + Add a 'quit' message that is app-wide, as opposed to + mir_event_type_close_surface |
Changed in mir: | |
status: | New → Triaged |
Changed in mir (Ubuntu): | |
status: | New → Triaged |
tags: | added: clientapi |
Just marked unity7 also affected, as its implementation is similar (it’s Bamf windows instead of Mir surfaces, but essentially it behaves the same).