If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Closing last tab twice disregards browser.tabs.autoHide

RESOLVED INCOMPLETE

Status

()

Firefox
General
RESOLVED INCOMPLETE
8 years ago
7 years ago

People

(Reporter: Anonymous bin Ich, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

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

(Reporter)

Description

8 years ago
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.
(Reporter)

Comment 1

8 years ago
PS: My english is not that good :(

Comment 2

8 years ago
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
(Reporter)

Comment 3

8 years ago
In all the cases, the behaviour is the same as reported.

Comment 4

8 years ago
This WFM.  I can only produce this if browser.tabs.closeWindowWithLastTab is FALSE and that is by design.
(Reporter)

Comment 5

8 years ago
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
Last Resolved: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.