GNOME Bugzilla – Bug 162169
gnome-terminal terminates abruptly
Last modified: 2005-05-25 19:30:42 UTC
1.Open the gnome-terminal. 2.Type gedit or gedit & or some other application or program. 3..Now close gnome-terminal.(By Clicking Close Button or Alt+F4,don't use 'exit') 4.The gnome-terminal and application will be closed abruptly. I expect that it would prompt an "yes or No" dialogbox when we attempt to close the terminal for conformation so that the data can be saved if necessary One may think that it is comman in linux ,but it leads to sevear problems while running big applications.For eg: while building gnome i unexpectadly closed gnome-terminal instead of closing other application which lead to the rebuilding of gnome from scratch.
Created attachment 35549 [details] [review] patch for bug #162169 The patch will use full to fix the bug #162169 With this the problem of abrupt termination of gnome-terminal can be eliminated, which prompts a dialog box for conformation.
Created attachment 35778 [details] [review] modified patch
Please don't mark the bug as fixed before the patch is accepted and commited to CVS.
I see the exact same behaviour when using xterm. What makes you think this is the correct solution? Same thing in konsole btw.
Sudhakar: Thanks for the patch. I agree that we should always prevent data loss. However, popping up a dialog every time is against the HIG. A dialog should popup when it is relevant, not always. If it always pops up, the user will click without thinking. Plus I find such dialogs highly annoying (these dialogs do not help at all). As it isn't possible to determine when dataloss would occur and popping up a dialog every time isn't an solution, closing as wontfix.