Closed Bug 1971648 Opened 7 months ago Closed 7 months ago

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)

Thunderbird 115
enhancement

Tracking

(thunderbird_esr128 wontfix, thunderbird_esr140+ fixed)

RESOLVED FIXED
141 Branch
Tracking Status
thunderbird_esr128 --- wontfix
thunderbird_esr140 + fixed

People

(Reporter: darktrojan, Assigned: darktrojan)

References

(Blocks 2 open bugs)

Details

(Keywords: perf)

Attachments

(1 file)

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.

Blocks: 1858030
Target Milestone: --- → 141 Branch

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

Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Blocks: 1973621
Duplicate of this bug: 1973621

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.

Blocks: 1918961
Summary: Add contain: strict to pane elements to reduce layout complexity → Add contain: strict to pane elements to reduce layout complexity, and avoid performance impact from animation in status bar
Version: unspecified → Thunderbird 115

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:
Attachment #9494210 - Flags: approval-comm-esr140?
Duplicate of this bug: 1963804
Duplicate of this bug: 1794110
Duplicate of this bug: 854093

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

Attachment #9494210 - Flags: approval-comm-esr140? → approval-comm-esr140+
Duplicate of this bug: 1993760
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: