Open Bug 301668 Opened 20 years ago Updated 17 years ago

Changing Cache Folder applies immediately, not after clicking OK

Categories

(SeaMonkey :: Preferences, defect)

1.7 Branch
x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: mcsmurf, Unassigned)

Details

Attachments

(1 file, 3 obsolete files)

When you change the Cache Folder pref under Advanced->Cache, you'll notice that the pref for this will be changed immediately, you can check this by looking at the pref browser.cache.disk.parent_directory under about:config. The changed setting should only apply as soon as you click OK.
Summary: Changing Cache Folder applies immediately, not after clicking → Changing Cache Folder applies immediately, not after clicking OK
Same for Mozilla 1.7.10. Even if you cancel the dialog the pref stays changed!
Attached patch Patch (obsolete) — Splinter Review
Attachment #190252 - Flags: review?(cbiesinger)
Comment on attachment 190252 [details] [diff] [review] Patch r-, see irc comments
Attachment #190252 - Flags: review?(cbiesinger) → review-
Attached patch Patch 2 (obsolete) — Splinter Review
Attachment #190252 - Attachment is obsolete: true
Attached patch Patch 2 (obsolete) — Splinter Review
Attachment #190259 - Attachment is obsolete: true
Comment on attachment 190260 [details] [diff] [review] Patch 2 + if (!getCachedFolder()) make that: if (!gCacheParentDirectory) + var cacheParentDir; where does this get a value?
Attached patch Patch 3Splinter Review
Attachment #190260 - Attachment is obsolete: true
Attachment #190294 - Flags: review?(cbiesinger)
Comment on attachment 190294 [details] [diff] [review] Patch 3 + gCacheParentDirectory = getCachedFolder(); I'd have put it immediately before the if... + if (folderObject instanceof Components.interfaces.nsILocalFile) oh... on irc, I wasn't aware that this file did define a constant nsILocalFile. so, please remove the |Components.interfaces.| part Thank you for doingh this work! And thank you for putting up with my often confusing comments :-) r=biesi
Attachment #190294 - Flags: review?(cbiesinger) → review+
Attachment #190294 - Flags: superreview?(neil.parkwaycc.co.uk)
Comment on attachment 190294 [details] [diff] [review] Patch 3 Sorry, that's not how you're supposed to use item data. You're supposed to store data as properties on the object, rather than replacing the object.
Attachment #190294 - Flags: superreview?(neil.parkwaycc.co.uk) → superreview-
Comment on attachment 190294 [details] [diff] [review] Patch 3 OK, I want to retract my review. I've known all the time that I was the wrong person to put a r= stamp on something involving WSM.
Attachment #190294 - Flags: review+
Can you reproduce with SeaMonkey v1.1.9 ? Can you reproduce with SeaMonkey v2.0a1pre ? Frank, Are you still working on this ?
Assignee: prefs → nobody
QA Contact: prefs
Version: unspecified → 1.7 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: