Open krassle opened 5 days ago
Comparing 1.11.81...1.11.82 - not much changed there. Perhaps someone can spot the regression introduced...
The change would be in element-web or matrix-react-sdk
Forgot to attach the performance tab of the unaffected v1.11.81
Important: Element Web appears to be unaffected by this.
Element Desktop is just Element Web + Electron so that seems odd.
v1.11.82 switched the room header implementation and there are complaints of performance issues with that: https://github.com/element-hq/element-web/issues/28273
@t3chguy I have no idea why Element Web would behave differently than Element Desktop, but on my self-hosted Element Web instance the issue is not reproducible on any version between 1.11.81 and 1.11.84. So, it must be some minor code difference affecting only Desktop, as Electron was not updated to a new major version ...
So, it must be some minor code difference affecting only Desktop, as Electron was not updated to a new major version ...
There is no Desktop code for URL previews, its just the Element web embedded within Electron responsible for it
Important: Element Web appears to be unaffected by this.
Element Desktop is just Element Web + Electron so that seems odd.
v1.11.82 switched the room header implementation and there are complaints of performance issues with that: element-hq/element-web#28273
The issue you mentioned (about the new room headers) maybe not linked to this one after all, then:
But then URL previews may also have less or nothing to do with this problem... A recent unresolved issue(Media redirect target URL gets modified by Element Desktop #1924) leads me to suspect that recently introduced target URL rewriting may somehow negatively interfere with loading / fetching (or caching) of media-thumbnails in some reverse proxy or media content repository scenarios. The author also explicitly points out the different behavior between Element Web and Desktop in this regard.
Please let me know if I can perform any more debugging steps to help narrow it down. Thanks.
Steps to reproduce
Additional info:
Issue first started with release 1.11.82 of Element Desktop (persists with .83/.84). Reverting back to 1.11.81 fixes the issue (loading times back to normal 1-2 seconds and smooth scrolling). Comparing 1.11.81...1.11.82 - not much changed there. Perhaps someone can spot the regression introduced...
Important: Element Web appears to be unaffected by this.
(Chrome DevTools) Performance - screenshot of room loading times
(Chrome DevTools) Console logs - nothing really helpful
vector-1731079305676.log
Outcome
What did you expect?
Short loading times of max. 1-2 seconds(when switching rooms) and smooth scrolling
What happened instead?
Loading times increased by a factor of 5 after v1.11.81
Operating system
Debian Linux
Application version
Element version: 1.11.84
How did you install the app?
https://packages.element.io/debian
Homeserver
Synapse 1.118.0
Will you send logs?
Yes