Closed Bug 720063 Opened 12 years ago Closed 12 years ago

Clearing cache does not zero out the cache in use size number until closing / reopening preferences window

Categories

(SeaMonkey :: Preferences, defect)

defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED
seamonkey2.10

People

(Reporter: mlueck, Assigned: ewong)

Details

(Whiteboard: [good first bug][mentor=Phil.Chee][lang=JS])

Attachments

(1 file)

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


Actual results:

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.


Expected results:

Should have gone to 0 right away without needing to exit the window and reopen the window.
Confirmed.
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: x86_64 → All
Whiteboard: [good first bug]
Version: SeaMonkey 2.6 Branch → Trunk
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
> end.

mentor=you then? :-) Or if it's really that easy, could fix it right away.
Whiteboard: [good first bug] → [good first bug][mentor=Phil.Chee][lang=JS]
Assignee: nobody → ewong
Status: NEW → ASSIGNED
Attachment #601881 - Flags: review?(iann_bugzilla)
Attachment #601881 - Flags: review?(iann_bugzilla) → review+
Pushed to comm-central:
http://hg.mozilla.org/comm-central/rev/4a8aad19f735
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
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).
Target Milestone: --- → seamonkey2.10
Fix confirmed in Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120604 Firefox/13.0 SeaMonkey/2.10 Thank you! :-)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: