Comment 0 for bug 616447

Revision history for this message
Dylan McCall (dylanmccall) wrote : Quit does not actually quit applications

This bug report is about the Quit option listed under the context menu for all running programs in the Unity shell.

I will start with examples:

 * Choosing Quit with Rhythmbox will close the main window, but the process continues to run. (The indicator provides a duplicate Quit option that does the right thing, but even if that was merged with the existing Quit option it would not be a sustainable solution).
 * I have Dropbox running in the background, and Unity has cleverly added it to the sidebar with its indicator menu available. Choosing Quit does nothing, because Dropbox is a daemon with no toplevel windows.

From the looks of it, Unity is just closing every window attached to the application's process and wrongly assumes this will cause it to quit. In fact, that often does not happen, and it is a very strange, semantically unclear behaviour.

Two possible solutions occur to me:
 * Do the right thing by sending the _process_ a QUIT signal. If a GUI app doesn't handle that signal properly, that is its problem and it should be fixed there.
 * Replace "Quit" with "Close all," which is consistent with what is being done and how the operation is presented in Gnome. Remove or disable the "Close all" option when there are no windows to close. (When it won't do anything).