Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » Mozilla Software » [FireFox] Close tab button in 3.5 RC2
Uniqs:
6064
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
Firefox 3.5.1 crashes with Chase banking website »
« [FireFox] Problem Re-opening Firefox  

norky
Premium
join:2002-12-02
Lithia, FL

[FireFox] Close tab button in 3.5 RC2

In 3.0-whatever if I only had one tab open it still had the x to close it on it. Is there any way to have this in 3.5?

Found this in about:config

browser.tabs.closeButtons

Then found: »kb.mozillazine.org/Browser.tabs.closeButtons

which states:

Possible values and their effects

0

Display a close button on the active tab only

1

Display close buttons on all tabs (Default)

2

Don’t display any close buttons

3

Display a single close button at the end of the tab strip (Firefox 1.x behavior)

However, with the integer set to 1, a close button does not appear on a tab if it is the only tab open. It did in previous versions (3.0.*)

I don't know if this is a bug or intended behavior.

amazingm
Premium
join:2001-07-16
USA

Re: [FireFox] Close tab button in 3.5 RC2

I'm having the same problem (which is why I reverted back to 3.0.11). In 3.0.11, with 0 in browser.tabs.closeButtons it works as intended (since the last tab remaining becomes the active tab). However, it does not work in 3.5. Even if I change to 2 (display close button on all tabs), once I remove all other tabs and one is left, the close button disappears.

mod_wastrel

join:2008-03-28
·magicjack.com

Re: [FireFox] Close tab button in 3.5 RC2

said by amazingm See Profile :

...once I remove all other tabs and one is left, the close button disappears.
Which is one reason why I set my home page to about:blank (which is no problem for me since I always start with a blank page anyway). I just click on the Home button now instead of "closing" the last tab (which I want to do because I have an image in my "blank" page).

norky
Premium
join:2002-12-02
Lithia, FL
found this:

»https://bugzilla.mozilla.org/show_bug.cgi?id=490166

Sanjay

@ntl.com


from:
amazingm See Profile

Add the following code to userChrome.css

Important:
Also go into about:config and change
browser.tabs.closeWindowWithLastTab to false.

/* Add tab-close-button to last tab*/
.tabbrowser-tabs[closebuttons="alltabs"] > .tabbrowser-tab >
.tab-close-button { display: -moz-box !important; }
.tabbrowser-tabs:not([closebuttons="noclose"]):not
([closebuttons="closeatend"]) >
.tabbrowser-tab[selected="true"] > .tab-close-button { display: -moz-
box !important; }

amazingm
Premium
join:2001-07-16
USA

Re: [FireFox] Close tab button in 3.5 RC2

said by Sanjay :

Add the following code to userChrome.css

Important:
Also go into about:config and change
browser.tabs.closeWindowWithLastTab to false.

/* Add tab-close-button to last tab*/
.tabbrowser-tabs[closebuttons="alltabs"] > .tabbrowser-tab >
.tab-close-button { display: -moz-box !important; }
.tabbrowser-tabs:not([closebuttons="noclose"]):not
([closebuttons="closeatend"]) >
.tabbrowser-tab[selected="true"] > .tab-close-button { display: -moz-
box !important; }
Thanks for the tip. Now, at least I am able to close the last tab with ctrl-w. However, after changing the setting in about:config to false and creating a userChrome.css file in my profile with the text you included, the last tab still does not have a close button.

mod_wastrel

join:2008-03-28
·magicjack.com


2 edits

Re: [FireFox] Close tab button in 3.5 RC2

Worked for me (only after I cleaned up the formatting to ensure line-endings didn't interfere with white-space et al**). Also works fine in Stylish.

**Oddly, I repeated the process just now: copy & paste as is (no re-formatting) and it still works... but it didn't work the first time I did it--don't know why.

amazingm
Premium
join:2001-07-16
USA

Re: [FireFox] Close tab button in 3.5 RC2

I decided to try again after seeing your post and sure enough it does work.

Thanks for the tip Sanjay.

Sanjay

@ntl.com
@amazingm

install stylish addon and go to the web site below and install style.

»userstyles.org/styles/12101

nicolas

@st.com
Thank you very much,

It works also for me on Windows XP.
I will try this evenning on mac osx.

Nico

nicolas

@proxad.net

Re: [FireFox] Close tab button in 3.5 RC2

Yes, works also on mac osx

Mondane

@kpn.net
Change this config:

browser.tabs.closeWindowWithLastTab

to false

and you can again close the last tab.

imeridian

join:2001-09-29
Chambersburg, PA
clubs:
I found this add-on that also solves the problem:
»https://addons.mozilla.org/en-US/firefox···n/12991/

GregK

@com.br

Re: [FireFox] Close tab button in 3.5 RC2

I have found one problem with both the userChrome.css fix and the add-on. Both conflict with the Tab Kit add-on. This is an issue since I was using Tab Kit to duplicate tabs in 3.5 since the Duplicate Tab add-on has not been updated for 3.5.

mrmr

@net.nz
Shame on the developers at Mozilla for removing this last-tab functionality. It never fails to amaze me how perfectly working logic is suddenly changed on a whim.

DataDoc
My avatar looks like me, if I was 2D.
Premium
join:2000-05-14
Greenville, NC
·Suddenlink


1 edit
I used the latest TabMixPlus (available on their forum) and did a turn off/turn on and it works fine.
»tmp.garyr.net/forum/viewtopic.php?t=9864
--
"You see what you want to see, and you hear what you want to hear" - The Rockman
Forums » Tech and Talk » OS and Software » Mozilla SoftwareFirefox 3.5.1 crashes with Chase banking website »
« [FireFox] Problem Re-opening Firefox  


Monday, 30-Nov 17:41:16 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [36] Broadband Killed The Game Console
· [26] AT&T Top Lobbyist Cicconi Has His Feelings Hurt
· [25] Rural Carriers Quickly Embracing Fiber
· [22] Baltimore To Ban Lazy Cable Installs
· [19] Midcontinent Socked With Easement Lawsuit
· [14] Charter Exits Chapter 11
· [3] Monday Morning Links
Most people now reading
· Is Microsoft Technet ok to use for my family PC's? [Microsoft Help]
· Portable power for blackouts? [Home Repair & Improvement]
· Heating - my dad gave me this advice... [Home Repair & Improvement]
· Windows 7 boot manager editing questions [Microsoft Help]
· filling an in-ground pool [Home Repair & Improvement]
· Are GPS's better today? [General Questions]
· Fun screwing with PuG raids. [World of Warcraft]
· [Internet] Gaming problem for "Heroes of Newerth" ( New bell Upd [Bell Canada]
· Dr. Tim Ball On the Significance of the CRU Hacked Documents [Canadian Chat]
· [Newsgroups] Newzleech down? [Filesharing Software]