SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. Set GTK_USE_PORTAL=1 2. Trigger the open file dialog for an application like Sublime Text which explicitly sets the folder the file picker should open to 3. The requested folder is ignored and the last opened directory is opened by default instead OBSERVED RESULT File picker always opens to the last opened folder EXPECTED RESULT File picker should open to the directory requested by the opening application SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Kubuntu 22.10 KDE Plasma Version: 5.25.5 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.6 ADDITIONAL INFORMATION The GTK file chooser is awful. I'd be sooo happy if this would work as expected so we could ditch GTK entirely.
Is there anything I can do to help move this issue forward?
As far as I can see the openFile method does not have a current_folder option, only SaveFile(s) https://flatpak.github.io/xdg-desktop-portal/#gdbus-org.freedesktop.portal.FileChooser
(In reply to David Redondo from comment #2) > As far as I can see the openFile method does not have a current_folder > option, only SaveFile(s) > https://flatpak.github.io/xdg-desktop-portal/#gdbus-org.freedesktop.portal. > FileChooser Thanks for diving into this David! I found a relevant issue here: https://github.com/flatpak/xdg-desktop-portal/pull/874 If that's resolved in xdg-desktop-portal, is there additional work required to get KDE to be compatible with that change?
Once it is acepted we would have to implement support of the option but it should be straight forward