User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Build ID: 20111220165912
Steps to reproduce:
Edit \ Preferences \ Open Twisty for Advanced \ Cache \ click the button "Clear Cache"
Official Mozilla binary build: Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20111221 Firefox/9.0.1 SeaMonkey/2.6.1
Installed via UbuntuZilla
Current cache size number did not go to 0.
If the Preferences window is closed, going back to the same menu path, THEN the number is already 0 without pushing the "Clear Cache" button a second time.
Should have gone to 0 right away without needing to exit the window and reopen the window.
I think ClearDiskAndMemCache() should call updateActualCacheSize() at the end.
(In reply to Philip Chee from comment #2)
> I think ClearDiskAndMemCache() should call updateActualCacheSize() at the
mentor=you then? :-) Or if it's really that easy, could fix it right away.
Created attachment 601881 [details] [diff] [review]
Zero out the cache in use size when clearing cache.
Pushed to comm-central:
I see this bug report has been flagged at a status of Resolved / Fixed. Now I am running the official binaries from Mozilla of: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120429 Firefox/12.0 SeaMonkey/2.9.1 and still see this bug present. Which version will finally include this fix?
(In reply to Michael Lueck from comment #6)
> Which version will finally include this fix?
2.10. It's always the version from Target Milestone (or lowest with "fixed" from Tracking Flags, if present). Unfortunately, some contributors forget to set the flags accordingly. I did this now for this bug (checkin to trunk was on 03-05 which is before 03-13 which was the date when 2.10 moved from trunk to Aurora).
Fix confirmed in Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120604 Firefox/13.0 SeaMonkey/2.10 Thank you! :-)