Closed Bug 385830 Opened 17 years ago Closed 17 years ago

Quit confirmation dialog still saves tabs during addons restart

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 385425

People

(Reporter: tchung, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a6pre) Gecko/20070625 Minefield/3.0a6pre
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a6pre) Gecko/20070625 Minefield/3.0a6pre

Restarting FF through addons manager, will quit firefox but restore all open tabs.  (when you hit "Quit" button)


Reproducible: Always

Steps to Reproduce:
1. Install latest trunk, and open a few tabs
2. ensure browser.warnOnQuit = true, and homepage is not set to 'Show Homepage'
3. launch addon manager
4. click "Restart Firefox"
5. notice the Quit confirmation dialog appears.  Click "Quit"
6. Verify restarting firefox, will restore all the tabs you opened.
Actual Results:  
All the tabs are reopened, despite clicking "Quit", not "Save and Quit"

Expected Results:  
Firefox should restart with only the home page tab.
Assignee: nobody → michael.wu
Flags: blocking-firefox3?
Assignee: michael.wu → nobody
Depends on: 383760
This behavior comes from bug 311744 (always resume after an update - since there really aren't any situations where you'd want to restart; and if you have to, why would you want to lose your session?).

IMO the correct behavior should rather be to not show the "Quit" button so that the choice once more boils down to restart (and save the session) or cancel. That'd be bug 385582.
Yeah, this will actually be fixed either by bug 385582, or preferably by bug 385425.
Flags: blocking-firefox3? → blocking-firefox3+
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
verified dup
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.