Open Bug 1889558 Opened 2 years ago Updated 4 days ago

Message counter and message list pane not updated after empty trash for Unified Folders only

Categories

(Thunderbird :: Folder and Message Lists, defect)

Thunderbird 125
defect

Tracking

(thunderbird_esr115 affected, thunderbird_esr128 affected)

Tracking Status
thunderbird_esr115 --- affected
thunderbird_esr128 --- affected

People

(Reporter: hlein, Unassigned)

References

Details

(Keywords: triaged, ux-consistency)

Attachments

(1 file)

Attached image Screenshot of panes —

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0

Steps to reproduce:

Empty trashbin by right-click - empty or delete a message from the trashbin.

Actual results:

Emptying the trashbin (or delete messages therein) does not update the counter and message / folder pane. To reset the counter, another folder must be selected, then select the trashbin again.

Expected results:

Counters / folder pane should be updated.

It still occurs in TB 128.0a1 with Unified Folders. It does not occur when Unified Folders are not used.

Additional details:
the underlying (real) folders are updated correctly.
The information of the (virtual) Unified Folder is wrong.

Thanks for the clarification.

Summary: Message counter and message list pane not updated after empty trashbin → Message counter and message list pane not updated after empty trashbin for Unified Folders only

I can reproduce this in 115.11 as well as in Daily.

Severity: -- → S4
Status: UNCONFIRMED → NEW
Ever confirmed: true
Duplicate of this bug: 1880134
See Also: → 1859677
See Also: → 792691

This anoying bug is still alive in Thunderbird 128.1.1esr

Interestingly, this problem does not occur when emptying the unified junk folder. Maybe a code comparisson could help to solve the issue.

Also still present in Daily 131.0a1 (2024-08-29)

Duplicate of this bug: 1918922
See Also: → 1951556
See Also: → 1939604

I'm not seeing this on mac with 142 daily with several imap accounts.
Better for you?

Flags: needinfo?(hlein)

For me, the problem is still present with TB daily 142.0a1 (2025-07-02) (64-Bit), Windows 11.

To reproduce:

  • unified folder for trashbin for several accounts

  • delete some messages

  • --> the count of messages in the unified trash flder is updated

  • select the unified trashfolder

  • --> you see the message headers of the deleted messages in the message panel

  • right click on the unified folder and select "empty trashbin"

  • --> the message headers remain in the message panel, also the count of messages is not reset

  • select another folder

  • select the trashbin again

  • --> the message panel appears empty ant the count is deleted

Regards

Flags: needinfo?(hlein)

Ramona, can you reproduce?

Flags: needinfo?(ramona)

This issue still exists in 151.0.1 Windows 11 64-bit

Confirming this in Unified Folders view. Reproduces reliably for me with a Gmail account over IMAP:

Have one or more unread messages in Trash (e.g. delete an unread message, or delete one before the mark-as-read delay elapses) the Trash folder shows an unread count, e.g. Trash (3).
Right-click Trash → Empty Trash

The messages are deleted and the folder is empty, but the unread count badge next to Trash stays put. It only clears after selecting the (now-empty) folder and clicking away to another folder, or invoking Mark Folder Read even though there's nothing left to be unread.

Version: 151.0.1 (64-bit)
OS: Windows 11
Account type: Gmail, IMAP

Flags: needinfo?(ramona)

The "empty trash" behavior I see in Unified is also wrong, but not 100% predictably. Quite the mess, not helped by what is described in 2007281

But UI behavior of bare normal folders is not great either - bug 1944541.

Severity: S4 → S3
Flags: needinfo?(benc)
See Also: → 2007281
Summary: Message counter and message list pane not updated after empty trashbin for Unified Folders only → Message counter and message list pane not updated after empty trash for Unified Folders only

Wrote up my thoughts over at https://bugzilla.mozilla.org/show_bug.cgi?id=1944541#c10 - I think it would cause problems with unified folders too.

Flags: needinfo?(benc)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: