Closed Bug 1847600 Opened 1 year ago Closed 1 year ago

vsync keeps running if the shopping sidebar is hidden - should tell gecko when it's not needed/visible

Categories

(Firefox :: Shopping, defect, P3)

defect

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox118 --- wontfix
firefox119 --- fixed

People

(Reporter: Gijs, Assigned: Gijs)

References

(Blocks 1 open bug)

Details

(Keywords: perf:animation, perf:resource-use, Whiteboard: [fidefe-shopping])

Attachments

(1 file)

See bug 1847584.

This ends up happening when we're in the "loading" state and the sidebar is hidden.

For now, we should probably manually set docShellIsActive to false on the browsingcontexts that are hidden, and back to true when unhiding them. This also (it appears) applies to tab switches.

Whiteboard: [fidefe-shopping]

Setting P3 because there is no current assignee - but I suspect we should get to this sooner rather than later, as this cause unnecessary power usage.

Severity: -- → S4
Priority: -- → P3

:gijs, should this be a P1/P2 for 119?

Flags: needinfo?(gijskruitbosch+bugs)

(In reply to Jared Hirsch [:jhirsch] (he/him) (Needinfo please) from comment #2)

:gijs, should this be a P1/P2 for 119?

I think this is WFM now bug 1847584 is fixed. It's possible we'd still benefit from setting isActive to false on sidebars in background tabs but I'm not sure if that's true. Emilio?

Flags: needinfo?(gijskruitbosch+bugs) → needinfo?(emilio)

It's probably worth it.

Flags: needinfo?(emilio)
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Attachment #9351790 - Attachment description: Bug 1847600 - ensure shopping sidebar activeness updates when switching tabs or hiding/showing it, r?emilio,niklas → Bug 1847600 - ensure shopping sidebar activeness updates when switching tabs or hiding/showing it, r?emilio!,fchasen!
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/0cab102319de ensure shopping sidebar activeness updates when switching tabs or hiding/showing it, r=emilio,fchasen
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
See Also: → 1875100
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: