Closed Bug 2054592 Opened 2 months ago Closed 2 months ago

Compact folders panel gives absurdly large disk space savings estimate

Categories

(MailNews Core :: Networking: IMAP, defect)

Thunderbird 140
defect

Tracking

(thunderbird_esr140 wontfix, thunderbird_esr153 fixed, thunderbird153 wontfix)

RESOLVED FIXED
154 Branch
Tracking Status
thunderbird_esr140 --- wontfix
thunderbird_esr153 --- fixed
thunderbird153 --- wontfix

People

(Reporter: msamek, Assigned: mkmelin)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36

Steps to reproduce:

Start thunderbird
The periodic compaction popup comes up

Actual results:

A compact folders panel pops up (screenshot attached) which says tthat compacting will recover 8.7 TB of disk space. This is not a possible number because it exceeds my disk space. The number, howeveer, is close to all my diskspace on the system

Expected results:

An accurate size estimate should be provided.

The inaccurate estimate makes me hesitatnt to allow TB to do the compaction because the only way to recover that much disk space is to erase all my disks.

Assignee: nobody → mkmelin+mozilla
Status: UNCONFIRMED → ASSIGNED
Component: Untriaged → General
Ever confirmed: true

Is this likely to help Bug 1260698 ? (Compact folders - shows wrong estimated and compacted size. Compacts too often. totalExpungedBytes number is wrong.)

And in the more distant past is Bug 765514 - message synchronization does not clean up old messages ... expungedBytes may wrap or be reset

Marcel, you've seen this prior to version 152?

Component: General → Networking: IMAP
Flags: needinfo?(msamek)
Product: Thunderbird → MailNews Core

(In reply to Wayne Mery (:wsmwk) from comment #3)

Marcel, you've seen this prior to version 152?

Yes. I first noticed it on 140 and then upgraded to 152 to see if it was still there before reporting the bug.

Although I am a long time user of Thunderbird, I had never seen that panel before until recently when I changed the settings. So, I do not know how far back it goes.

Flags: needinfo?(msamek)

Bug 1260698 is probably the same.

See Also: → 1260698
Version: Thunderbird 152 → Thunderbird 140
Attachment #9608751 - Attachment description: Bug 2054592 - Fix expungedBytes accumulation on imap. r=#thunderbird-back-end-reviewers → Bug 2054592 - Fix expungedBytes accumulation on imap. r=BenC
Target Milestone: --- → 154 Branch

Pushed by kaie@kuix.de:
https://hg.mozilla.org/comm-central/rev/e4859d1204a5
Fix expungedBytes accumulation on imap. r=BenC

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED

Comment on attachment 9608751 [details]
Bug 2054592 - Fix expungedBytes accumulation on imap. r=BenC

Uplift Approval Request

  • Please state case for uplift consideration and ensure bug severity is set: Can result in user frustration
  • User impact if declined: Compact estimations can be waay off.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Daily?: Yes
  • Has the fix been verified in Beta?: Yes
  • Needs manual test from QA?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Small change
  • Does the fix cause any migrations to be skipped?: No
  • String changes made/needed: none
Attachment #9608751 - Flags: approval-comm-esr153?

Comment on attachment 9608751 [details]
Bug 2054592 - Fix expungedBytes accumulation on imap. r=BenC

[Triage Comment]
Approved for esr153

Attachment #9608751 - Flags: approval-comm-esr153? → approval-comm-esr153+
Blocks: 1260698
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: