Comment 13 for bug 687724

Revision history for this message
Alberto Mardegan (mardy) wrote : Re: Quicklist's "Quit" doesn't exit certain applications

I'm afraid the only way to fix this bug is to rename the "quit" command to "close" (or "close all windows"), as suggested in comment #8.

Sending SIGTERM leads to other problems:

a) if we send it before closing the application windows, the application will usually terminate without asking for user input in case it has unsaved data (for instance, gedit prompts the user to save the current file only if its window is closed). I'm not sure this is desirable.

b) if we send it after closing the application windows, another inconsistent behaviour appears: for example in xchat:
  1) We close the xchat windows -> xchat prompts the user: "minimize, quit or ignore?"
  2) user chooses minimize -> xchat windows are closed, and xchat stays to the tray
  3) we send SIGTERM -> xchat exits completely, though the user wanted it to run minimized.