GNOME Bugzilla – Bug 701354
When one tab only left, allow us to use the "Close tab" keyboard shortcut to close that (even if that'll close the window)
Last modified: 2013-09-14 14:52:41 UTC
=== As the Gnome Terminal product uses the GNOME Bug Tracker, I now put that here, rather than where it was originally at https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1184984 ; I will however, in addition, link this current report on Launchpad as we've this possibility, to let "Launchpad keep track of its status for you." :) === Would be cool if, as on Google Chrome (and probably Chromium in fact) but also as on Terminal (on OS X), when one tab only left, we can still use the "Close tab" keyboard shortcut to close this tab, even if the window is closed then. Currently if we've many tabs, we can use this shortcut to close all the tabs, but this behavior is blocked on the last tab and we need to switch to the "Close window" keyboard shortcut. This behavior is understandable. However, the last tab is still a tab! So, it seems normal to allow us to close this (last) tab with the shortcut "Close tab". It's logical too. So, "Close window" still is useful, for example to close 10 tabs in one time. But when we have a window with 1 tab / 1 tab left, as it's a tab, the "Close tab" keyboard shortcut is logical to use, even if that will close the window then (and terminate the process therefore on Linux). I used to do this logical behavior on Terminal (on OS X). So visibly, it make sense to Apple too, not just me. ^_^ But also on all OS when using Google Chrome: having many windows with many tabs in each, and just having to keep my left hand on the "Close tab" keyboard shortcut and I can close very quickly all the tabs of the window 3, then on the window 2 (that appears because of window 3 was therefore closed), then on window 1… until 0 tab left. And at this point on GNU/Linux, this terminates all Google Chrome related processes. N.B.: If this not becoming the new default behavior, can be added as an option/preference. Always good to let people defining the behavior they want, at least, then. :) OS: Ubuntu 12.04.2 LTS up-to-date. Gnome-terminal version concerned: I think all, even probably the one used in the Ubuntu 13.10 branch. -- Comment n°1 added by me on Launchpad: And by the way, I see that it's the default behavior in the Terminal of LXDE (LXTerminal) too! :) => http://fr.wikipedia.org/wiki/LXTerminal