Avoid triggering synchronous reflow in when calculating TreeView's visible height
Categories
(Thunderbird :: Folder and Message Lists, enhancement)
Tracking
(thunderbird_esr115 fixed)
| Tracking | Status | |
|---|---|---|
| thunderbird_esr115 | --- | fixed |
People
(Reporter: darktrojan, Assigned: darktrojan)
References
Details
(Keywords: perf:responsiveness)
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-esr115+
|
Details | Review |
TreeView.#calculateVisibleHeight can cause synchronous reflow to get the table's height. But it doesn't need to – we already know the table's height because we have a ResizeObserver watching it. If we just remember the height from the last time it changed¹, we can avoid this function being the cause of a reflow and blame something else for it.
(¹ …and the height of the table header, which we can watch in a similar way.)
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Updated•2 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/89a8fa3b520f
Avoid triggering synchronous reflow in when calculating TreeView's visible height. r=leftmostcat
| Assignee | ||
Comment 3•2 years ago
|
||
Comment on attachment 9389277 [details]
Bug 1883550 - Avoid triggering synchronous reflow in when calculating TreeView's visible height. r=leftmostcat
[Approval Request Comment]
Regression caused by (bug #): Message list performance improvement in some circumstances. Potentially fixes bug 1860094.
User impact if declined:
Testing completed (on c-c, etc.): In 125 beta 1.
Risk to taking this patch (and alternatives if risky): Low.
| Assignee | ||
Comment 4•2 years ago
|
||
Comment on attachment 9389277 [details]
Bug 1883550 - Avoid triggering synchronous reflow in when calculating TreeView's visible height. r=leftmostcat
Flag went missing. User error. :-)
Updated•2 years ago
|
Comment 5•2 years ago
|
||
Comment on attachment 9389277 [details]
Bug 1883550 - Avoid triggering synchronous reflow in when calculating TreeView's visible height. r=leftmostcat
[Triage Comment]
Approved for esr115
Comment 6•2 years ago
•
|
||
| bugherder uplift | ||
Thunderbird 115.10.0:
https://hg.mozilla.org/releases/comm-esr115/rev/459b6d2a94d1
Description
•