Closed Bug 275199 Opened 21 years ago Closed 19 years ago

Status bar doesn't change its content when finishing compacting folders

Categories

(Thunderbird :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: toszcze, Assigned: Bienvenu)

References

Details

(Keywords: fixed1.8.1)

Attachments

(1 file, 1 obsolete file)

When I compact folders, status bar (at the bottom of a main window) shows message 'Compacting folder Inbox'. When this process is finished, description remains the same (but I think it should be cleared).
Summary: Status bar don't change ist content when finishing compacting folders → Status bar doesn't change its content when finishing compacting folders
Possibly related to bug #216276? I'm seeing both behaviors.
In mailnews/base/src/nsMsgFolderCompactor.cpp, ShowDoneStatus() gets called inside CompactNextFolder() only. Thus, completion message works for compacting all folders(file -> compact folders), but not for compacting individual folders. At a glance, FinishCompact() seems to be better place to call ShowDoneStatus() to handle the both cases.
*** Bug 274980 has been marked as a duplicate of this bug. ***
(In reply to comment #2) > completion message works for compacting all folders(file -> compact folders), > but not for compacting individual folders. That's not what I'm seeing. In TB, the completion message is not showing at all. This problem was fixed in the Suite -- see bug 181627.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I confirm this bug in TB 1.0.2 on Win2K when compacting a single folder as well as all folders in an account. And I'd like to get it fixed.
T'Bird 1.0, WinXP SP2. I experience the same behaviour. It doesn't matter whether I compact a single folder or all folders, the status bar fails to update when the final folder is done. I would really prefer a separate modal dialog with progress bar that would (a) reflect the real progress of the compaction tasks and (b) prevent me from accidentally corrupting my mail by working with messages/folders while compaction is in progress.
Confirmed (TB 1.06/W32 official build). When compacting a folder via context-menu (right click) the progress indicator does work propely, but when compacting is finished, the Status Bar still reads "Compacting folder XXX...."
Flags: blocking1.8b5?
Flags: blocking1.8b5? → blocking1.8b5-
*** Bug 296725 has been marked as a duplicate of this bug. ***
Thunderbird Bug 271095 was duped against Suite Bug 181627, so this bug should perhaps also be duped against Bug 181627?
(In reply to comment #9) > Thunderbird Bug 271095 was duped against Suite Bug 181627, so this bug > should perhaps also be duped against Bug 181627? No -- per comment 4, this bug still exists in Thunderbird (and I just retested and can verify that it's still in TB 1.5). At the time that 271095 was duped, 181627 hadn't been fixed yet.
(In reply to comment #10) > No -- per comment 4, this bug still exists in Thunderbird (and I just retested > and can verify that it's still in TB 1.5). At the time that 271095 was duped, > 181627 hadn't been fixed yet. Presumably the code was forked before Bug 181627 was fixed. Obviously you're not affected by Bug 324085 in 1.5 on a PC.
When I see a compacting folders progress bar (Bug 324085 is intermittent) I also see "Done compacting folders" when it has completed. This is in Thunderbird version 1.5 (20051201) on Mac OS X 10.3.9.
Attached patch proposed fix (obsolete) — Splinter Review
display the same status message in the single folder compact case. I changed the status message so we could use it in both cases - an alternative was to do Done compaction folder(s) but I don't know how localizable that is.
Assignee: mscott → bienvenu
Status: NEW → ASSIGNED
Attachment #233256 - Flags: superreview?(mscott)
Comment on attachment 233256 [details] [diff] [review] proposed fix David, if you want localizers to make a similar change to the meaning of compactingDone, you'll have to change the name of the string property otherwise localizations will continue to use whatever they translated "Done compacting folders" to in earlier releases.
Attachment #233256 - Flags: superreview?(mscott) → superreview+
this is what I'll checkin.
Attachment #233256 - Attachment is obsolete: true
fixed on trunk and branch
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
Sometimes, it doesn't show anything but other times, it does. I don't think this one is quite finished yet. Maybe another bug for compacting covers this. Will check.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: