| Summary: | Improve file picker sorting: Custom sorting per directory, option to disable "folders first" | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Damglador <vse.stopchanskyi> |
| Component: | Open/save dialogs | Assignee: | KIO Bugs <kio-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | john.kizer, kdelibs-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 6.10.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Hi - the option to disable sorting Folders first already exists, and can be accessed by clicking the "Sorting" button in the top toolbar of the Open File dialog. Merging this in with the existing feature request for sorting settings to be synced with Dolphin. Thanks! *** This bug has been marked as a duplicate of bug 433737 *** |
SUMMARY For me, this is a huge usability issue. File dialog in Plasma have the same sorting and view settings for everything, some of them can't even be changed, like that folders always come first. I have 176 items in My ~/Downloads, and 14 of them are folders. Each time I have to pick something from ~/Downloads I have to sort by date and then scroll past the pile of folders, and that wastes a lot of time. The grouping also is missing, but that's not a big deal. I can also just drag and drop the file I want to pick on the file picker, but that also wastes a lot of time, opening Dolphin if it's not opened, going to the folder I need, finding the file, drag and dropping it into the file picker. STEPS TO REPRODUCE Python script to call file picker, requires pyqt6: import sys from PyQt6.QtWidgets import QApplication, QFileDialog, QWidget app = QApplication([]) window = QWidget() file_path = QFileDialog.getOpenFileNames(window, "Select a file") print("Select a file:", file_path) if not file_path or file_path == "": print("No folder selected, exiting.") sys.exit() del app sys.exit() OBSERVED RESULT Every folder uses the same sorting, even Downloads, which requires custom sorting the most. There is no option to disable folders showing first. EXPECTED RESULT I expect file picker to inherit sorting and view options from Dolphin, or at least use custom sorting for Downloads for easier time picking files from there. I expect an option to disable folders showing first in the view. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux KDE Plasma Version: 6.3.0 KDE Frameworks Version: 6.10.0 Qt Version: 6.8.2 ADDITIONAL INFORMATION I know taking view options from Dolphin isn't a universal solution, but it's something. Another good option would be just to customize view options per-folder in file picker itself and store the preferences somewhere.