GNOME Bugzilla – Bug 485802
"Close Window" and "Close Tab" should require user confirmation by default
Last modified: 2012-08-17 20:58:16 UTC
This has happened one time too many. I launch an expensive CPU-bound job in gnome terminal. After *hours* of computation, I get the results outputted in the terminal, so I select the output and want to copy it in the clipboard. ALAS, instead of hitting "copy", I hit "Close tab" (which is *right frikkin' next to it*), gnome-terminal does not ask for a confirmation and BAM, loses all my work. Please, do fix this, I use gnome-terminal for hours every day and this would sav e a lot of people from the same shameful and stupid experience. Simple way to fix this: In gnome-terminal -> Edit -> Preferences -> Behavior, just add a "Closing windows and tabs" paragrah with a (checked by default) checkbox titled "Ask before closing a terminal window." Thanks ! Other information:
*** This bug has been marked as a duplicate of 168320 ***
168320 is a different bug. 168320 is a request to hold the window open if a non-shell process is running. This bug is a request to hold the window open even if the shell is idle, to protect unsaved text in the scrollback historu.