Ever wondered why websites and web applications keep consuming CPU/power in the background with #GNOMEWeb?

This is the #WebKitGTK enhancement request I have filed to allow stopping the animations frame clock and telling websites that the window is not in focus (so that they can throttle themselves): https://bugs.webkit.org/show_bug.cgi?id=285167

Not sure how widespread power throttling is among #web apps, but this provides a path for pretty significant power savings in #GNOME, #LinuxMobile & #embedded with #Wayland.

285167 – [GTK] Monitor Wayland window surfaces obscured by other windows (to suspend tabs, stop the frame clock and tell web apps to throttle themselves)

WebKit Bugzilla

@nekohayo When that
came up in #Wayland protocols I though that it could be nicely used to stop the video stream (while keeping audio going) in this little video player I care about (#livi). Thanks for the reminder, added now: https://gitlab.gnome.org/guidog/livi/-/merge_requests/61 .Super nice that it's wired through in #gtk already too and thus easy to use.

#phosh

window: Disable video track when toplevel gets suspended (!61) · Merge requests · Guido Günther / Livi · GitLab

@rmader I think this is as good as it gets or can we maybe save some more cycles...

GitLab