Closed Bug 373158 Opened 17 years ago Closed 17 years ago

Warn when closing windows ... preference doesn't update when "don't show this warning again" box is ticked.

Categories

(Camino Graveyard :: Preferences, defect)

PowerPC
macOS
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 358318

People

(Reporter: ishermandom+bugs, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en; rv:1.8.1.2pre) Gecko/20070223 Camino/1.1b
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en; rv:1.8.1.2pre) Gecko/20070223 Camino/1.1b

When closing a window with multiple tabs, if you select the "don't show this warning again" checkbox, the corresponding checkbox in the preferences sometimes doesn't update until after restarting the browser.

Reproducible: Sometimes

Steps to Reproduce:
1. Select the preference "warn me when: closing windows or quitting with multiple pages open"
2. Open a several windows with several tabs each
3. Close a window, so that the corresponding warning appears.
4. Select "don't warn me again"
5. Open preferences.
Actual Results:  
The corresponding checkbox is still ticked, though it is out of sync with the browser's behavior.

Expected Results:  
The corresponding checkbox should be unticked.

Also tested on the 3/7/07 nightly (branch, I think), with a fresh profile.
When this happens, does it get back in sync with reality if instead of closing the browser you move to a different prefpane and move back to General?
(In reply to comment #1)
> When this happens, does it get back in sync with reality if instead of closing
> the browser you move to a different prefpane and move back to General?
> 

Ah, yes, it does.
Yeah.  This is because we only truly load preference panes when we switch them (ie, closing and reopening the prefs window never loads the pane again).  There are references to this all over bugzilla, but I'm not sure I've seen a bug filed.  Stuart, you say in bug 371266 comment 7 that you've filed such a bug, but I don't see it...  is there an existing bug for this?
bug 358318
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Depends on: 411189
You need to log in before you can comment on or make changes to this bug.