https://bugs.kde.org/show_bug.cgi?id=515240
Bug ID: 515240
Summary: Save/Open Portal Dialog always opening parent dir of
request folder
Classification: Plasma
Product: xdg-desktop-portal-kde
Version First 6.5.90
Reported In:
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Created attachment 189013
--> https://bugs.kde.org/attachment.cgi?id=189013&action=edit
Screenshot of dialog from dbus example
SUMMARY
When a dialog is requested via the portal (for example Firefox save/open) the
displayed folder is always the parent directory of the requested folder. This
leads to issues like asking for /home/$user and being placed in /home/ instead,
requiring the user to navigate to a valid folder.
STEPS TO REPRODUCE
1. Either trying saving a file in Firefox or use the gdbus call below
2. Observe that the displayed folder is the parent of either
browser.download.lastDir in Firefox or whatever was requested in the dbus call
OBSERVED RESULT
Parent directory is opened
EXPECTED RESULT
Requested folder to be opened
SOFTWARE/OS VERSIONS
Linux: Fedora Rawhide
KDE Plasma Version: 6.5.90
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1
ADDITIONAL INFORMATION
Reproducible gdbus call. This opens my /home/parker folder instead of
Downloads. Tested on 6.5.5 and Downloads is opened as expected.
gdbus call --session \
--dest org.freedesktop.portal.Desktop \
--object-path /org/freedesktop/portal/desktop \
--method org.freedesktop.portal.FileChooser.OpenFile \
"" "Portal OpenFile repro" \
"{'handle_token':<'repro'>,'current_folder':<@ay [$(
(printf '%s\0' "$HOME/Downloads" | od -An -tu1) | tr -s ' ' ',' | tr -d
'\n' | sed 's/^,*//;s/,*$//'
)]>}"
--
You are receiving this mail because:
You are watching all bug changes.