Bug 507882

Summary: File Picker's file upload mode should select all files but ignore all folders by default
Product: [Frameworks and Libraries] frameworks-kio Reporter: Fernando M. Muniz <fernandommuniz>
Component: Open/save dialogsAssignee: KIO Bugs <kio-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: kdedev, kdelibs-bugs-null, nate
Priority: NOR Keywords: usability
Version First Reported In: 6.16.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=498689
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Fernando M. Muniz 2025-08-05 03:33:03 UTC
STEPS TO REPRODUCE
1. Click on a site that accepts uploading files.
2. Have the desired files, and folders in the same place.
3. Press Ctrl+A to select all of the files.

OBSERVED RESULT
Ctrl+A selects all files and folders, which doesn't make sense for the file uploading mode of the file picker, requiring the user to manually de-select them and possibly stumbling upon Bug 498689 .

EXPECTED RESULT
Ctrl+A would cause all files to be selected, but not the folders because they can't be uploaded with the files, and folders are only there for navigational purposes.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.15.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 9 GB of RAM (8.1 GB usable)
Graphics Processor 1: NVIDIA GeForce GTX 1650
Graphics Processor 2: Intel® Iris® Xe Graphics
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6

ADDITIONAL INFORMATION
The Folder uploading mode is a separate thing, and it doesn't suffer from this issue.
Comment 1 TraceyC 2025-08-07 18:01:42 UTC
While changing Ctrl+A to not really be "select all" might not be the ideal solution, I agree that something could be done here to allow the user to select all files but not folders.
Comment 2 Fernando M. Muniz 2025-09-24 21:07:12 UTC
I just noticed that even thought the folders are selected, it only uploads the selected files. So it's actually a visual bug.