Closed Bug 1827755 Opened 1 year ago Closed 1 year 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.

See Also: → 1817367
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: 1 year 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: