Bug 403199 - KDE file save dialog in Firefox don't remember last used folder
Summary: KDE file save dialog in Firefox don't remember last used folder
Status: RESOLVED FIXED
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-14 07:17 UTC by Murz
Modified: 2022-01-18 19:39 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.24


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Murz 2019-01-14 07:17:34 UTC
I use Firefox with GTK_USE_PORTAL=1 argument to use KDE file save dialogs instead of GTK - all works well, instead of KDE file save dialog in Firefox don't remember last used folder, so every time shows my home folder.

Is this KDE issue or Firefox? Does any fix or workaround for this problem exists?
Comment 1 Jan Grulich 2019-01-14 07:42:16 UTC
What is your xdg-desktop-portal-kde version? There was a bug that xdp-kde doesn't open folder specified by Firefox, which has been fixed in version 5.14.5. It's also possible that ths is a bug in Firefox, because when you specify it should use portals, then Firefox assumes it is running in sandbox and might behave differently in storing/retrieving users configuration.
Comment 2 Nate Graham 2019-01-14 15:02:03 UTC
(Please provide the requested info then reset the status to REPORTED)
Comment 3 Murz 2019-01-27 19:09:17 UTC
xdg-desktop-portal-kde is 5.14.5-0ubuntu1~ubuntu18.10~ppa1, Firefox is running natively via system (Ubuntu) package.
When I try to open file - it show last used folder correctly, but if I try to save - I always see my home folder instead of last usage folder.
So seems the problem is only with Save dialog.
Comment 4 Murz 2019-01-27 19:11:18 UTC
Also, after I try to open Save dialog, it also reset last used folder in Open dialog too.
Comment 5 Gabriel 2019-09-07 15:46:08 UTC
Hi, any fix to this problem?, my system have this problem and i need fix it, thanks.
Comment 6 Nate Graham 2022-01-18 19:39:53 UTC
This is working for me in Plasma 5.24, with Firefox using portals.