Add contain: strict to pane elements to reduce layout complexity, and avoid performance impact from animation in status bar
Categories
(Thunderbird :: Folder and Message Lists, enhancement)
Tracking
(thunderbird_esr128 wontfix, thunderbird_esr140+ fixed)
People
(Reporter: darktrojan, Assigned: darktrojan)
References
(Blocks 2 open bugs)
Details
(Keywords: perf)
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
corey
:
approval-comm-esr140+
|
Details | Review |
The layout inside each of the three panes should not affect anything outside the panes. I'm going to add contain: strict to the panes and the rows of the trees inside them to simplify the layout calculation and hopefully improve performance.
Thanks to mstange in bug 854093 comment 28 for the idea.
| Assignee | ||
Comment 1•7 months ago
|
||
| Assignee | ||
Updated•7 months ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/1050abe565a8
Add contain: strict to pane elements to reduce layout complexity. r=aleca
Updated•4 months ago
|
Comment 4•4 months ago
|
||
there's a chance it helps with that weird problem some people see where the progress bar animation causes relayout to happen on every frame.
This is great, given that there are many situations where animation doesn't stop.
IIRC, Corey discussed taking this in a point release of esr. Also, it might help to take this without any other performance fixes.
| Assignee | ||
Comment 5•3 months ago
|
||
Comment on attachment 9494210 [details]
Bug 1971648 - Add contain: strict to pane elements to reduce layout complexity. r=#thunderbird-front-end-reviewers
Uplift Approval Request
- Please state case for uplift consideration and ensure bug severity is set: Small fix that could improve performance.
- User impact if declined:
- Is this code covered by automated tests?: No
- Has the fix been verified in Daily?: Yes
- Has the fix been verified in Beta?: Yes
- Needs manual test from QA?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Very simple change to some CSS.
- Does the fix cause any migrations to be skipped?: No
- String changes made/needed:
Comment 9•3 months ago
|
||
Comment on attachment 9494210 [details]
Bug 1971648 - Add contain: strict to pane elements to reduce layout complexity. r=#thunderbird-front-end-reviewers
[Triage Comment]
Approved for esr140
Comment 10•3 months ago
|
||
| uplift | ||
Description
•