Generally speaking fixing bug 1674749 (now bug 1671424) should be enough
for most apps in the short term.
I'm reminded of how Microsoft handles this problem...
WM_CLOSE: https://msdn.microsoft.com/en-
us/library/windows/desktop/ms632617(v=vs.85).aspx
WM_QUIT:
I’m not sure how a fix for bug #1674749 would address the use case in
the description: a multi-window application (such as web browser) wants
to distinguish between:
- please close all windows one by one without retaining state for them
- please quit the app, and save the state for all windows
Maybe a fix for bug 1674749 is what you want.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1624407
Title:
Add a 'quit' message that is app-wide, as opposed to
mir_event_type_close_surface
To
Clicking on a window's close button sends the app
mir_event_type_close_window. That's just an informational message that
apps are meant to act on (e.g. pop up a dialog if not terminate
themselves).
If you mean logout however, then I guess the right answer is that shells
should send
Does Mir provide enough api to allow application ask user a question
before shutdown? In Unity7, typically that is requesting focus and
popping up a dialog - should be ok, but good to think about it.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
** Summary changed:
- 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)