https://bugs.kde.org/show_bug.cgi?id=500001

            Bug ID: 500001
           Summary: Improve file picker sorting: Custom sorting per
                    directory, option to disable "folders first"
    Classification: Frameworks and Libraries
           Product: frameworks-kio
           Version: 6.10.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Open/save dialogs
          Assignee: kio-bugs-n...@kde.org
          Reporter: vse.stopchans...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

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.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to