https://bugs.kde.org/show_bug.cgi?id=490064
Bug ID: 490064 Summary: File chooser in directory mode does not default to current directory, making it near-unusable on single-click-to-open systems Classification: Plasma Product: xdg-desktop-portal-kde Version: 6.1.2 Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: plasma-b...@kde.org Reporter: quinten@quinten.space CC: aleix...@kde.org, jgrul...@redhat.com, n...@kde.org Target Milestone: --- *** If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** SUMMARY When opening a directory through xdg-desktop-portal's File Chooser API, the picker handles this quite badly. On my system, which is single-click-to-open, I have to click the folder I want, then I have two options: - Go up, then the folder I want is selected, then click the OK button - or type '.' into the filename bar and then hit OK. Hitting OK while in a folder does not actually do anything. STEPS TO REPRODUCE 1. Have single-click-to-open 2. Try to open a folder using xdg-desktop-portal (e.g. with ashpd demo, I originally discovered the issue using Zed) 3. Try to open the current directory OBSERVED RESULT Nothing happens EXPECTED RESULT Folder is selected SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: 6.1.2 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.2 Wayland ADDITIONAL INFORMATION I'm not sure what the right behaviour here is, since when something is selected the selected folder would be picked. But probably this is fine, iirc Windows does the same thing where the current folder is just what gets picked when nothing is selected? -- You are receiving this mail because: You are watching all bug changes.