Closed Bug 502226 Opened 15 years ago Closed 13 years ago

Closing last tab twice disregards browser.tabs.autoHide

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: b56a2a82, Unassigned)

Details

(Whiteboard: [CLOSEME 2011-1-1])

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5

Hello!

I have enabled two config options:
browser.tabs.closeWindowWithLastTab = true
browser.tabs.autoHide = true

Now, if one presses Ctrl+W on second last tab, only the last tab is available and the tab-bar is no more visible, as is expected.

But if one presses Ctrl+W again, the tab bar becomes visible again! No amount of pressing Ctrl+W will make it hidden again. The only solution remaining is to open a new tab again, and then close it.

Reproducible: Always

Steps to Reproduce:
1. Change values of browser.tabs.closeWindowWithLastTab and browser.tabs.autoHide to true.
2. Open only one tab.
3. Close it twice, by pressing Ctrl+W twice.
Actual Results:  
Tab-bar is visible.

Expected Results:  
Tab-bar should remain hidden.
PS: My english is not that good :(
Can you try,

1. Try to reproduce in Safe Mode. http://support.mozilla.com/en-US/kb/Safe+Mode
2. Disable all add-on and see what the minimal set of add-ons installed will
cause this problem to reproduce
3. Try to reproduce in a new profile.
http://support.mozilla.com/en-US/kb/Managing+profiles
In all the cases, the behaviour is the same as reported.
This WFM.  I can only produce this if browser.tabs.closeWindowWithLastTab is FALSE and that is by design.
Thanks! I am so sorry for mentioning it incorrectly. It indeed is FALSE.

browser.tabs.closeWindowWithLastTab = false.

But, it is not by design, since

browser.tabs.autoHide = true

Thus, the tab bar should be hidden, which is the problem here!
Reporter, are you still seeing this issue with Firefox 3.6.12 or later in safe mode? If not, please close. These links can help you in your testing.
http://support.mozilla.com/kb/Safe+Mode
http://support.mozilla.com/kb/Managing+profiles
Also, please consider using the most recent Firefox 4 beta build, your bug may be resolved there.
Whiteboard: [CLOSEME 2011-1-1]
No reply, INCOMPLETE. Please retest with Firefox 3.6.13 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.