Closed
Bug 266851
Opened 20 years ago
Closed 18 years ago
Ctrl +F4 works differently to Right Click -> Close Tab when only one tab open
Categories
(Firefox :: Keyboard Navigation, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: mattdavisuk, Assigned: mconnor)
References
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20041029 Firefox/1.0RC1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20041029 Firefox/1.0RC1 When only one tab is open Close Tab is disabled on the Right Click menu. In the same situation Ctrl + F4 will change the page to a blank one Reproducible: Always Steps to Reproduce: 1. Open Firefox with only one tab open and load a web page. 2. Right click on the tab. The Close Tab option is disabled. 3. Press Ctrl + F4. Actual Results: The contents of the tab is replaced with a tab called "(Untitled)". Pressing Back will return the user to their original page Expected Results: I assume that the behaviour of the right-click menu is correct, but the key thing is that both options are consistent. I have the "Hide the tab bar when only one web site is open" option unchecked.
| Reporter | ||
Comment 1•20 years ago
|
||
*** Bug 266878 has been marked as a duplicate of this bug. ***
| Reporter | ||
Comment 2•20 years ago
|
||
Middle clicking (under Windows at least) has the same effect as pressing Ctr+F4, i.e. that the current tab will change to "(Untitled)".
Version: unspecified → 1.0 Branch
Comment 3•20 years ago
|
||
I can't get it to show the tab bar when I have only one tab, even if I change the pref "Hide tab bar for only 1 tab". I also can't get ctrl+f4 to clear the page when I have only 1 page open in the window. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
| Reporter | ||
Comment 4•20 years ago
|
||
(In reply to comment #3) > I can't get it to show the tab bar when I have only one tab, even if I change > the pref "Hide tab bar for only 1 tab". > > I also can't get ctrl+f4 to clear the page when I have only 1 page open in the > window. > > Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 I've just tried this with a clean profile and it seems that changing the "Hide the tab bar when only one tab open" option doesn't have any immediate effect, you have to open and close another tab before you get a single tab with the tab bar open. As for the second point, I知 rather mystified. If you have multiple tabs open does Ctrl+F4 close the current tab in the same way as middle-clicking on it, or right-clicking on it and choosing Close Tab? Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.5) Gecko/20041110 Firefox/1.0
Comment 5•20 years ago
|
||
I can confirm this on the trunk.
Comment 6•20 years ago
|
||
(In reply to comment #0) > User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20041029 Firefox/1.0RC1 > Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20041029 Firefox/1.0RC1 > > When only one tab is open Close Tab is disabled on the Right Click menu. In the > same situation Ctrl + F4 will change the page to a blank one > > Reproducible: Always > Steps to Reproduce: > 1. Open Firefox with only one tab open and load a web page. > 2. Right click on the tab. The Close Tab option is disabled. > 3. Press Ctrl + F4. > Actual Results: > The contents of the tab is replaced with a tab called "(Untitled)". Pressing > Back will return the user to their original page > > Expected Results: > I assume that the behaviour of the right-click menu is correct, but the key > thing is that both options are consistent. > > I have the "Hide the tab bar when only one web site is open" option unchecked. I have had the same complaint for a long time, but proffer a different solution. "Closing" the one remaining "tab" should do the equivalent of deleting that Tab, and popping up a brand new "blank" tab. "blank" is the smae as "(Untitled)", which is also the same as the documented "about:blank". With the current situation, my workaround is a two step process: right click on the one Tab, and select "New Tab"; this "new" Tab comes up blank for me because that is my default for startup [it would be acceptable if the "new" Tab were to com up in the defaulted URL.] Then right-mouse on the original Tab selecting "Close Tab." Even though this workaround isn't extremely onerous, it is totally out of character with the notion of a "defaulted" page in the zero-Tab case. THe other browser I use seems to do this right.
Comment 7•20 years ago
|
||
(In reply to comment #6) > (In reply to comment #0) . . . See Bug #281012. Alas the present bug seems to have been caused by an unwise Fix for #281012. Apparently the confusion in that earlier report was due to a belief that closing the "last" tab should leave you with a window in a tabless browser; but someone already rightely commented that with the options selected NOT to hide the tab bar, any window at all will in fact be a "Tab." Thus we arrive at the implication that deleting the "last Tab" means replaceinng it by a blank Tab.
Updated•20 years ago
|
Assignee: aaronleventhal → mconnor
| Assignee | ||
Comment 8•18 years ago
|
||
Fixed by Fx2 cycle tabbrowser changes.
| Reporter | ||
Updated•18 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•