commet icon indicating copy to clipboard operation
commet copied to clipboard

Foreign room/space icons don't show until clicked

Open ollietheotter983 opened this issue 2 months ago • 7 comments

Spaces/rooms from servers other than your own‎ must be clicked on before they display and icon, which stays until the app is relaunched. I suspect this is due to the client having to fetch the icons, so I suggest the client permanently cache the icons to be used until the space or room is opened.

https://github.com/user-attachments/assets/55154061-1d67-45d3-99d9-43e50d739f21

ollietheotter983 avatar Oct 23 '25 12:10 ollietheotter983

Commet already caches media on client side for up to 5 days (from last accessed time), i dont think this is an issue with caching. maybe your homeserver is not providing thumbnails for remote media?

Airyzz avatar Oct 23 '25 12:10 Airyzz

I'm not sure, its a public server, but if its cached then surely it would work for 5 days at least wouldn't it? maybe a more aggressive caching option might be a good idea to fix it, to have it show the non-thumbnail regular icons

ollietheotter983 avatar Oct 23 '25 12:10 ollietheotter983

What platform / build are you using?

Airyzz avatar Oct 23 '25 13:10 Airyzz

What platform / build are you using?

Android 16 and Arch Linux, Commet v0.4.0-prerelease+20250924

ollietheotter983 avatar Oct 23 '25 13:10 ollietheotter983

I looked more in to caching, and sorry I think there actually is an issue with the media cache specifically with flatpak. Are you experiencing this issue on both linux and android?

Airyzz avatar Oct 25 '25 03:10 Airyzz

I looked more in to caching, and sorry I think there actually is an issue with the media cache specifically with flatpak. Are you experiencing this issue on both linux and android?

yes i was, but uppn switching servers its fixed

ollietheotter983 avatar Nov 08 '25 10:11 ollietheotter983

I've noticed similar behaviour when commet is configured to launch at system startup, it's failing to fetch images, I think maybe because my system's internet is still connecting by the time commet is loading, and then the images have no mechanism to retry

Airyzz avatar Nov 15 '25 00:11 Airyzz