Bug 474870

Summary: File chooser portal: Thumbnails load slowly
Product: [Plasma] xdg-desktop-portal-kde Reporter: Henning <boredsquirrel>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: aleixpol, jgrulich, nate
Priority: NOR    
Version First Reported In: git-stable-Plasma/5.27   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Henning 2023-09-25 18:52:19 UTC
When using a Flatpak and uploading a photo, choosing it via the Dolphin Filechooser Portal, the image folder always reloads aaaall the images.

It also doesnt remember the chosen sorting type, another missing feature I will file seperately.

It would be great having the files cached, to speed up Flatpak image access a lot.

Specified App:
xdg-desktop-portal-1.16.0-3.fc38.x86_64
xdg-desktop-portal-kde-5.27.8-1.fc38.x86_64

--- Software ---
OS: Fedora Linux 38.20230923.0 (Kinoite)
KDE Plasma: 5.27.8
KDE Frameworks: 5.109.0
Qt: 5.15.10
Kernel: 6.4.15-200.fc38.x86_64
Compositor: wayland

--- Hardware ---
CPU: AMD Ryzen 5 PRO 3500U w/ Radeon Vega Mobile Gfx
RAM: 21.4 GB
GPU: AMD Radeon Vega 8 Graphics
Video memory: 2048MB
Audio: Pipewire
Comment 1 Nate Graham 2023-09-28 16:04:26 UTC
Can you clarify what you mean by "reloads all the images"? What specifically are you seeing happen in the window that led you to this conclusion? Thanks.
Comment 2 Henning 2023-10-12 21:53:31 UTC
In Dolphin (afaik) the images are cached to not every thumbnail has to be reloaded. This doesnt happen in the file picker, where I have the default sorting from latest to oldest, and the oldest seem to load first and get stacked below and below until the first images appear, then again after a while the thumbnails are loaded for these images.

Also a weird behavior, some thumbnails load way faster, all the others take way longer. I am not 100% sure if these are images created on the Laptop, but I suppose.

So the problem is that image thumbnails always reload very slowly, and that the images dont load according to their sorting, which again is actually two issues. The result is very slow loading of the blank thumbnails, and then slow again for the actual thumbnails