Closed
Bug 385425
Opened 17 years ago
Closed 17 years ago
getting the quit prompt when restarting firefox after installing an add on
Categories
(Toolkit :: Add-ons Manager, defect)
Toolkit
Add-ons Manager
Tracking
()
VERIFIED
FIXED
mozilla1.9alpha7
People
(Reporter: moco, Assigned: mwu)
References
Details
Attachments
(2 files, 2 obsolete files)
19.04 KB,
image/png
|
Details | |
6.80 KB,
patch
|
Details | Diff | Splinter Review |
getting the quit prompt when restarting firefox after installing an add on. for restart from the EM, I don't think we should prompt you, since it will restart with the open tabs, right? I'll attach a screen shot.
Reporter | ||
Comment 1•17 years ago
|
||
I'm using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a6pre) Gecko/20070620 Minefield/3.0a6pre
Reporter | ||
Comment 2•17 years ago
|
||
Comment 3•17 years ago
|
||
Is this also true for software update? If not then we should use the same method it uses... if not, is there a bug also filed for that?
Comment 4•17 years ago
|
||
It's still unclear whether the quit prompt should be shown or not when the session will be resumed (see bug 348471 and bug 384907). An earlier request to that end was WONTFIXED in bug 341248.
Reporter | ||
Comment 6•17 years ago
|
||
> Is this also true for software update? If not then we should use the same > method it uses... if not, is there a bug also filed for that? Sorry for the delayed response. Software update has the same problem. I've logged bug #385853 for that.
Blocks: 385853
Reporter | ||
Updated•17 years ago
|
Flags: blocking-firefox3?
Comment 7•17 years ago
|
||
In Fx2 we would prompt before closing windows with multiple tabs, in both cases, so I'm thinking this might be WONTFIX for the same reasoning, but I need to talk through this dialog with beltzner in general, so I'll leave the nom for now.
Comment 8•17 years ago
|
||
Regardless of the solution, this bug needs to be fixed, since the user clicks "restart" yet sees "quit". That's just wrong. Possible solutions include: - only prompt if we detect the presence of tabs with form data or post data that will not be restored after restart, and in that case, refer explicitly to those tabs (I think there's a bug on this already?) - create a restart confirmation dialog to be used here instead, saying "Firefox will try to restore your N windows and M tabs when it restarts. [Restart] [Cancel]"
Flags: blocking-firefox3? → blocking-firefox3+
Comment 9•17 years ago
|
||
beltzner, does the same possible solutions also apply to fixing this for Software Update (see bug #385853)?
Comment 10•17 years ago
|
||
(In reply to comment #9) > beltzner, does the same possible solutions also apply to fixing this for > Software Update (see bug #385853)? Yes.
Assignee | ||
Comment 11•17 years ago
|
||
Assignee | ||
Comment 12•17 years ago
|
||
Slightly better implementation.
Attachment #273679 -
Attachment is obsolete: true
Attachment #273853 -
Flags: review?(mano)
Attachment #273679 -
Flags: review?(mano)
Comment 13•17 years ago
|
||
Comment on attachment 273853 [details] [diff] [review] Add special case for restarts, v2 r=mano, but please declare |message| outside of the if/else blocks.
Attachment #273853 -
Flags: review?(mano) → review+
Assignee | ||
Comment 14•17 years ago
|
||
Attachment #273853 -
Attachment is obsolete: true
Assignee | ||
Comment 15•17 years ago
|
||
Checking in browser/components/nsBrowserGlue.js; /cvsroot/mozilla/browser/components/nsBrowserGlue.js,v <-- nsBrowserGlue.js new revision: 1.33; previous revision: 1.32 done Checking in browser/locales/en-US/chrome/browser/quitDialog.properties; /cvsroot/mozilla/browser/locales/en-US/chrome/browser/quitDialog.properties,v <-- quitDialog.properties new revision: 1.2; previous revision: 1.1 done Checking in toolkit/mozapps/extensions/content/extensions.js; /cvsroot/mozilla/toolkit/mozapps/extensions/content/extensions.js,v <-- extensions.js new revision: 1.129; previous revision: 1.128 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
OS: Windows XP → All
Hardware: PC → All
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3 M7
Updated•17 years ago
|
Flags: in-litmus?
Comment 18•17 years ago
|
||
Litmus triage team: tchung will create a test case for this bug.
Comment 19•17 years ago
|
||
Disabling the warning on restart disables the warning on quit as well (they use the same pref), is that considered a bug or by design?
Comment 20•17 years ago
|
||
The string with key "NeverAsk" is "Do not ask next time". This checkbox is used in combination with (at least) two other strings: * "messageNoWindows" when you try to close a window * "messageRestart" when you press the button Restart in the Add-ons Manager While the first message is a question ("Do you want %S to save your tabs and windows for the next time it starts?"), the second message is a statement ("%S will try to restore your tabs and windows when it restarts. "), so "ask" doesn't fit. Maybe we should have a second string to use with a statement like messageRestart.
Comment 21•16 years ago
|
||
Verified fix on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008050906 Minefield/3.0pre
Status: RESOLVED → VERIFIED
Updated•16 years ago
|
Product: Firefox → Toolkit
Comment 22•15 years ago
|
||
Edited litmus test: https://litmus.mozilla.org/show_test.cgi?searchType=by_id&id=6906 to include this behavior.
Flags: in-litmus? → in-litmus+
You need to log in
before you can comment on or make changes to this bug.
Description
•