| Summary: | ea76edce74820ae084fb29303bdeb4da8e913157 increases CPU usage and makes the app lag | ||
|---|---|---|---|
| Product: | [Applications] NeoChat | Reporter: | Nate Graham <nate> |
| Component: | General | Assignee: | Tobias Fella <fella> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | carl, james.h.graham |
| Priority: | NOR | Keywords: | regression |
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Nate Graham
2023-02-14 15:12:41 UTC
Hey can you give this a go https://invent.kde.org/network/neochat/-/commit/2cda1b5fa6aa276622b87c07cf68d8633f94f9d3. It should stop the loading indicator running when the delegate isn't visible, hopefully that should reduce the load. Indeed it helps a lot! A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/797 Git commit f186be73143e0f360c27f8e4462f49c435e5c2a4 by James Graham. Committed on 15/02/2023 at 18:22. Pushed by nvrwhere into branch 'master'. Disable link loading animation when offscreen Stop the link preview loading indicator animation running when the delegate isn't visible. M +9 -2 src/qml/Component/Timeline/LinkPreviewDelegate.qml M +1 -0 src/qml/Component/Timeline/MessageDelegate.qml M +5 -0 src/qml/Component/Timeline/TimelineContainer.qml https://invent.kde.org/network/neochat/commit/f186be73143e0f360c27f8e4462f49c435e5c2a4 Git commit f785e4d5b0e77f3e28fdfc5891bb6f9b0e562649 by James Graham. Committed on 15/02/2023 at 19:30. Pushed by nvrwhere into branch 'master'. Inline Edit Loader Put the edit component in a loader to that it doesn't use resources when not in use. M +5 -2 src/qml/Component/Timeline/MessageDelegate.qml https://invent.kde.org/network/neochat/commit/f785e4d5b0e77f3e28fdfc5891bb6f9b0e562649 This appears to be effectively fix now, |