User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:18.104.22.168pre) Gecko/20090913 SeaMonkey/2.0pre Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:22.214.171.124pre) Gecko/20090913 SeaMonkey/2.0pre Seamonkey does not follow the behaviour expected in the save tabs on quit dialog. Reproducible: Always Steps to Reproduce: 1. Quit browser with tabs open. 2. The save tabs on quit dialog appears("Do you want Seamonkey to save your tabs for the next time it starts?") 3. Select "Do not ask next time", then press quit. 4. Restart browser, open multiple tabs. Quit browser. Actual Results: The dialog triggers again, even when "Do not ask next time" is selected the previous time. Expected Results: On selecting "Do not ask next time", the dialog should NEVER be triggered when quitting subsequent multi-tabbed browser sessions.
Confirming with Build identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:126.96.36.199pre) Gecko/20090910 SeaMonkey/2.0pre You need File - Exit to get this dialog.
In the dialog in nsSuiteGlue.js "browser.tabs.warnOnClose" is set to false, shouldn't we set "browser.warnOnQuit" instead? Misak, any ideas?
You can get this dialog through Ctr-Q as well. Bug still exists with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:188.8.131.52pre) Gecko/20090913 SeaMonkey/2.0pre
(In reply to comment #2) > In the dialog in nsSuiteGlue.js "browser.tabs.warnOnClose" is set to false, > shouldn't we set "browser.warnOnQuit" instead? This line should be deleted, we will not set "browser.tabs.warnOnClose" to false in this case. The cause of this behavior a little bit above: if (prefBranch.getBoolPref("browser.warnOnQuit") == false) showPrompt = false; The fix is a part of bug 515006 patch, which in process of review. I'll talk with Neil, maybe better to separate that and publish here.
This is annoying enough to a number of users that we shouldn't ship 2.0 with this behavior. Misak, independent if bug 515006 makes it, could we get the issue talked about here fixed, or does this depend on the other one?
Can't reproduce it after bug 515006 landing, resolving as fixed.
Sorry, I'm still seeing the behaviour in the latest build (Gecko/20090926 SeaMonkey/2.0pre), even though I've deleted all instances of "WarnOn" and "tabs" in prefs.js Do I need to attach my prefs.js file for someone to look at?
1. Download latest nightly (Gecko/20090926 SeaMonkey/2.0pre) 2. Create new user profile 3. Start browser. 4. Open multiple tabs. 5. Close browser window by Alt+F4 or Ctrl+Q 6. Dialogue pops up. Select do not ask next time, click Quit. 7. Repeat 3-5. 8. Expected behaviour: dialogue should not pop up again. But it does.
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:184.108.40.206pre) Gecko/20090926 SeaMonkey/2.0pre - Build ID: 20090926001533 NOT fixed. Happening here as well.
Well, it's not working if you hit quit button and working if you hit quit and save. Investigating ...
Created attachment 403106 [details] [diff] [review] add missing prefs [Checkin: Comment 13] OK, code below is good: if (prefBranch.getIntPref("browser.startup.page") == 3 || prefBranch.getBoolPref("browser.sessionstore.resume_session_once") || !prefBranch.getBoolPref("browser.warnOnQuit")) showPrompt = false; else if (aQuitType == "restart") showPrompt = prefBranch.getBoolPref("browser.warnOnRestart"); else showPrompt = prefBranch.getBoolPref("browser.tabs.warnOnClose"); but it throws because we don't have "browser.warnOnRestart" and "browser.warnOnQuit". Adding them.
Comment on attachment 403106 [details] [diff] [review] add missing prefs [Checkin: Comment 13] http://hg.mozilla.org/comm-central/rev/adb01e467963