Open
Bug 190966
Opened 23 years ago
Updated 3 years ago
Support windows disk cleanup api
Categories
(Firefox :: File Handling, defect)
Tracking
()
NEW
People
(Reporter: timeless, Unassigned)
References
()
Details
Attachments
(1 file)
|
1.51 KB,
text/plain
|
Details |
Mozilla has a couple of things which take up a lot of space which the user could
dispose of if necessary, but the user might not know about them and the user
should be able to reach them through the OS interface (Disk Cleanup).
documentation for supporting this interface is currently available at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_int/shell_int_extending/disk_cleanup.asp
The main thing to cleanup is Networking: Cache, however it might also be worth
allowing the user to [mail] Empty Trash and [mail] Compress Folders.
Comment 1•23 years ago
|
||
*** Bug 172887 has been marked as a duplicate of this bug. ***
Updated•16 years ago
|
Assignee: law → nobody
QA Contact: chrispetersen → file-handling
Comment 2•14 years ago
|
||
I was playing around with this a few days ago and came up with this little registry entry as a proof of concept.
Caveats:
* If you use it while Firefox is running, most of the cache gets cleared, but not the index, which leads to some odd "file not found" errors.
* It clears all "profiles" for the current Windows user, as those are named randomly.
* It currently clears the entire folder - so the safebrowsing db and update log goes as well - but it's very easy to just do the cache or just the safe browsing db, etc.
* the path to the Firefox executable (to display the icon), strings, etc are hardcoded.
To fix those things:
* The cache could be taught to be smarter about missing files, or a COM object could be written that understood how to ask a running instance to clear its cache.
* The installer would have no trouble creating registry entries that point to the right place.
There are also the policy decisions about whether these items should be deleted by default, only in low disk space, etc.
Anyway that's what I learnt from an hour of MSDN and getting "disk cleanup" to the top of my start menu. ;)
Updated•9 years ago
|
Product: Core → Firefox
Version: Trunk → unspecified
Comment 3•6 years ago
|
||
related to bug 1296592
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•