Bug 505305 - When a file picker is opened with a File Type filter, unfiltered folder contents are briefly visible
Summary: When a file picker is opened with a File Type filter, unfiltered folder conte...
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Open/save dialogs (other bugs)
Version First Reported In: 6.14.0
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords: efficiency-and-performance
Depends on:
Blocks:
 
Reported: 2025-06-07 11:19 UTC by madness742
Modified: 2025-06-19 06:14 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Showcase of the bug. (1.44 MB, video/mp4)
2025-06-07 11:19 UTC, madness742
Details

Note You need to log in before you can comment on or make changes to this bug.
Description madness742 2025-06-07 11:19:25 UTC
Created attachment 182083 [details]
Showcase of the bug.

SUMMARY
When using KDE File Picker to save files, it takes a while before it filters out the files when `File Type` is set.

STEPS TO REPRODUCE
1. Have 1 or more files with the same file extension (.webp, for example) in `Downloads` folder. 
2. Make sure the File Picker in Firefox/Chromium loads the `Downloads` folder first.
3. In Firefox/Chromium, download a file that has a different extension (.png, for example). 

OBSERVED RESULT
The file picker is slow to filter the files.

EXPECTED RESULT
Near instantaneous results, it's currently the same if there's 1 or 10 other files that need to be filtered.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 42
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
- The speed between filtering 1 or 10 files is the same.
- Only the first folder opened in KDE File Picker is slow to filter, other folders are filtered instantly.
Comment 1 Nate Graham 2025-06-09 19:46:20 UTC
Hmm, it's instantaneous for me, also on Fedora 42, but with all KDE software built from source from today's git master.
Comment 2 madness742 2025-06-09 21:46:07 UTC
I can also reproduce it on Fedora Rawhide and KDE Neon Unstable. On these two distros I had to change `widget.use-xdg-desktop-portal.file-picker` to 1 in Firefox so that it would use the KDE File Picker.

Fedora Rawhide (Fedora-Rawhide-20250608.n.0)
KDE Plasma Version: 6.3.91
KDE Frameworks Version: 6.14.0
QT Version 6.9.0
Kernel: 6.16.0
kdialog: 25.04.2
xdg-desktop-portal-kde: 6.3.91

KDE Neon Unstable (neon-unstable-20250608-1147)
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.15.0
QT Version: 6.9.0
Kernel: 6.11.0
kdialog: 25.04.2
xdg-desktop-portal-kde: 6.3.5
Comment 3 John Kizer 2025-06-19 06:05:48 UTC
I can reproduce what's shown in the video - a brief flash of the unfiltered contents as the file picker window loads.

For the reporter, could you please also add your full Info Center/kinfo details, including graphics card info, in case it's relevant? (Mine are below as an example) Thanks!

Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.14.11-300.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7800X3D 8-Core Processor
Memory: 32 GiB of RAM (30.4 GiB usable)
Graphics Processor 1: NVIDIA GeForce RTX 4070 SUPER
Graphics Processor 2: AMD Radeon Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7D78
System Version: 1.0
Comment 4 madness742 2025-06-19 06:12:28 UTC
(In reply to John Kizer from comment #3)
> For the reporter, could you please also add your full Info Center/kinfo
> details, including graphics card info, in case it's relevant? (Mine are
> below as an example) Thanks!
Here is my full system information:

Operating System: Fedora Linux 42
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.1
Kernel Version: 6.14.9-300.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 7950X3D 16-Core Processor
Memory: 62,4 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XTX
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7D75
System Version: 1.0
Comment 5 John Kizer 2025-06-19 06:14:22 UTC
Thanks!