element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.22k stars 2k forks source link

CPU stuck at over 100% for the tab when idling in encrypted room #28174

Open MTRNord opened 1 month ago

MTRNord commented 1 month ago

Steps to reproduce

Unclear. I think it is shortlooping over broken devices in a room. I hope the rageshake helps.

Outcome

What did you expect?

To use ~10% cpu like the other element tab in the same browser

What happened instead?

grafik

Operating system

Fedora Silverblue 40

Browser information

Firefox 131.0 (64-Bit)

URL for webapp

develop.element.io

Application version

Version von Element: 8d77b2a15ae5-react-a2cee6bbb42a-js-b842192a3415 Krypto-Version: Rust SDK 0.7.2 (517d99b), Vodozemac 0.7.0

Homeserver

matrix.midnightthoughts.space

Will you send logs?

Yes

MTRNord commented 1 month ago

This seems to also affect at least an 1.11.72 instance for me as well occasionally. It is within another firefox container. Logs are sent as well

MTRNord commented 1 month ago

Ok seems like I got it fixed by forcefully in devtools removing the service workers and reloading the tab. Prior reloading made no change. So it might be also related to the service worker instead. It might also just be a fluke/coincidence that the reload with the service workers removed fixed it.