gedit remains open when last tab closed
|||One Hundred Papercuts||
Binary package hint: gedit
Gedit uses a MDI model; in particular, tabs. When the last tab in Gedit is closed, Gedit remains open with no tabs. Gedit should be modified to close the application when the last tab is closed.
Ubuntu ships a number of application that use tab interfaces; for example: Firefox, Chrome/Chromium, Pidgin (conversation window), Nautilus, Eclipse, Monodevelop, etc. I find that all of these applications except Eclipse and similar (so, development environments) will terminate once the last tab is closed.
Firefox: will make is difficult for the user to close the last tab (either by hiding the tab bar when only one tab is open, or by removing the X button in the last remaining tab). However, the last tab can be closed by CTRL+W (although this command, found in the File menu, changes name from 'close tab' to just 'close' when only one tab is open), or by a mouse gesture bound to 'close current tab' (if using such an add-on). Once the last tab is closed, the whole window instance closes.
Chrome: closing the last tab is easy with the X button in the tab itself. When the last tab is closed, the application instance closes.
Pidgin conversation window: hides the tab bar when only one tab open, so technically the ability to close tabs is taken away when there is only one tab, and the user is forced to close the entire conversation window. Still: no tabs, no window.
Nautilus: similar to Pidgin conversation window.
Applications like Eclipse, Monodevelop etc. use a different model: they can continue running with zero tabs open.
I would argue that, since Gedit is likely to be used by non-technical users on a daily basis (being the default text editor/previewer), Gedit should be patched to behave consistently with applications like Firefox and Nautilus; that is, to either hide the tab bar when there is only one document loaded, or to terminate itself when the last tab is closed. I argue this should be done primarily in the name of user interface consistency of the platform.
Since Gedit can be used as more than a simple text editor, even as a full fledged IDE, Gedit should be patched to allow reverting to the old behavior, but this option should be disabled by default.
DistroRelease: Ubuntu 10.10
Package: gedit 2.30.3-1ubuntu1
Uname: Linux 2.6.35-23-generic i686
Date: Sat Dec 11 18:16:13 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
|Changed in gedit:|
|importance:||Unknown → Wishlist|
|status:||Unknown → Won't Fix|