FF4 doesn't show save tabs warning, why not?

Discussion about official Mozilla Firefox builds
parad0x
Posts: 19
Joined: June 1st, 2004, 3:55 pm

Re: FF4 doesn't show save tabs warning, why not?

Post by parad0x »

James wrote:ChuckUSA, this forum is independent of Mozilla as it is a users helping users forum. This forum is far to active for one to think Mozilla is actively watching, especially when they are monitoring a few other official places instead. http://www.mozillazine.org/about/

The browser.showQuitWarning preference (set to false) is indeed in about:config by default on Firefox 4.0. Perhaps something is up with your install or Profile if you cannot find it even after putting warn in the filter box on top of about:config page.

Type about:config into the location bar and press enter
Filter for these Preferences in Filter box on top
Locate the preference browser.tabs.warnOnClose, if its value is set to false, double-click on it to change its value to true
Repeat this for these 3 preferences browser.warnOnQuit, browser.warnOnRestart and browser.showQuitWarning


Hey there,

I have changed all those preferences to true, i close FF4 with multiple tabs and i still won't get the save tabs dialog. Ideas?

P.S. - Oh, and i also have my Privacy settings correct too.
NoNameReally
Posts: 237
Joined: July 26th, 2010, 4:45 am

Re: FF4 doesn't show save tabs warning, why not?

Post by NoNameReally »

Have you tried opening the home page (the default one about:home) and clicking "restore previous session" or however it's spelled? That works.

I suggest that, if you were clicking the "save and quit" option 90% of the time, you simply instruct firefox to always open the tabs from the last session. It's just so much better.

If you want to have the option every time, I don't know if you can, I tried to make it work like before at first but never could. All I could get was a dialog asking me if I wanted to quit and save or if I wanted to cancel, which still was missing the option to quit and not save. It was good enough, I guess, but it's just so much slicker to have it not ask anything and automatically restore the session that that's what I'm using.

Firefox 4 also prevents you from ever loosing your tabs, because you can ALWAYS restore your last session, even when you instruct it to quit without saving it. Which is good.

Also, for those who think they matter and are quitting Firefox out of spite, GOOD RIDDANCE!!! Users who think Chrome is lighter, or is growing faster or has better extensions or is more customizable or such nonsense, do you really think mozilla as a community or mozilla as an organization care about them? Seriously? If anything it's a good thing! The less users the less problems with security. Shoo shoo! Go bother Google now! Because you'll find plenty of reasons to bother them, believe you me.
thebudman
Posts: 143
Joined: November 26th, 2007, 2:16 am

Re: FF4 doesn't show save tabs warning, why not?

Post by thebudman »

I just noticed something very odd that shouldn't happen when changing these prefs / Maybe I'm missing a pref?

Ok i decided to bring back the old warn on quit so i can choose to save session or not, I changed browser.tabs.warnOnClose and browser.showQuitWarning to true and set my browser to show the default firefox start page, (I didn't set the warn on restart as i would like not to be warned when I'm restarting for a reason aka installing addon, disable / enabling addon) Problem is when you select quit it is still storing the session, So that isn't a very good thing, It shouldn't do that if you changed them prefs and select quit so it don't store the session, Even if you change the start page and select quit it is still storing the session when typing about:sessionrestore,

The main start page is the most serious part of it because what if you have kids and you click quit instead of save and they see the homepage and see restore session button and click it and you had porn open etc in a previous session, (just an example) Also i seen someone mention even if you clear history and still have open tabs and select quit instead of save and you click the restore button on the page it will still restore your tabs, Unconfirmed as i didn't test that part,

Anyway there is either a pref somewhere to make Firefox not store the session on quit when them prefs are set or there is a serous bug that can have pretty bad consequences to the users, specially with the wife / kid scenario, Basically when you click save its supposed to save session but when you click quit it isn't supposed to, and cancel just doesn't do anything but cancel the prompt like normal, I'm hoping this is just a pref I'm missing, I don't want the session to be stored at all like previous Firefox if i simple click quit instead of save and i think that is what these other users want also, Prob for the same reasons or similar reasons,
User avatar
rob64rock
Posts: 2122
Joined: November 11th, 2009, 6:16 am

Re: FF4 doesn't show save tabs warning, why not?

Post by rob64rock »

thebudman wrote:I don't want the session to be stored at all like previous Firefox if i simple click quit instead of save and i think that is what these other users want also, Prob for the same reasons or similar reasons,

For my understanding the last or previous sessions were stored on quit on previous version of Firefox, but not loaded on restart with the preferences you currently have set now on Firefox 4. The only difference is now you have two UI options to restore the last or previous session that wasn't loaded after restart or initial startup. The new UI options are now on the default about:home page and the other is in the "History" menu "Restore previous Session".

Use this style to hide the new UI on about:home: http://userstyles.org/styles/46075/firefox-4-about-home-remove-restore-session

If you don't want to use Stylish extension, then create a userChrome.css file in the "chrome" folder of your Firefox 4 profile and copy and past the code of the style above into the userChrome.css file. Then restart the browser.

*Important* If you are having trouble finding a way to create "userChrome.css" file in the "chrome" folder make a copy of the "userChrome-example.css" file and rename the copy to userChrome.css and delete its contents before pasting the style code above. Then restart the browser.
thebudman
Posts: 143
Joined: November 26th, 2007, 2:16 am

Re: FF4 doesn't show save tabs warning, why not?

Post by thebudman »

rob64rock wrote:
thebudman wrote:I don't want the session to be stored at all like previous Firefox if i simple click quit instead of save and i think that is what these other users want also, Prob for the same reasons or similar reasons,

For my understanding the last or previous sessions were stored on quit on previous version of Firefox, but not loaded on restart with the preferences you currently have set now on Firefox 4. The only difference is now you have two UI options to restore the last or previous session that wasn't loaded after restart or initial startup. The new UI options are now on the default about:home page and the other is in the "History" menu "Restore previous Session".


I just checked both the last version of firefox 3.5 and firefox 3.6 and i can confirm that when you click quit instead of save that the session was never stored as long as the prefs was set to bring up the save dialog and by default it is on in the old browsers. So i believe if them prefs are set then it should not store the session when you click quit instead of save. I found this by typing about:sessionrestore in the browsers to test, If you click save then yes it stores your session but if you click quit it don't store it at all. So I'm guessing this is a regression bug? I believe this needs to be filed unless it already has been, I don't know when this changed as i don't feel like looking going through a bunch of olds builds right now, Could someone else file a bug report on this? I believe this needs to be fixed for 4.0 stable. *edit* I don't know how i missed this before 4.0 final came out as i was on nightly builds till the day it got released then switched to stable. but i think it may of been because i decided to let tabs always restore on start but it finally got to annoying to have 20 / 30 tabs load on me every start,
Post Reply