Closed Bug 1827755 Opened 2 years ago Closed 2 years ago

Every change to the unread count of a folder triggers the folder tree mutation observer

Categories

(Thunderbird :: Folder and Message Lists, defect)

defect

Tracking

(thunderbird113 fixed)

RESOLVED FIXED
114 Branch
Tracking Status
thunderbird113 --- fixed

People

(Reporter: darktrojan, Assigned: darktrojan)

References

(Blocks 1 open bug)

Details

(Keywords: perf, Whiteboard: [Supernova3p])

Attachments

(1 file)

When the unread count of a folder changes, we change the textContent of a label in the folder tree. Doing that causes a text node to be removed and a new one added, and that triggers the MutationObserver watching for changes in the list.

Target Milestone: --- → 114 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/cd00875a0040
Avoid setting the textContent of folder tree unread message counts. r=leftmostcat

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Attachment #9328253 - Flags: approval-comm-beta?

Comment on attachment 9328253 [details]
Bug 1827755 - Avoid setting the textContent of folder tree unread message counts. r=#thunderbird-reviewers

[Triage Comment]
Approved for beta

Attachment #9328253 - Flags: approval-comm-beta? → approval-comm-beta+
Whiteboard: [supernova] → [Supernova3p]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: