Description of the issue:
Using Brave on Ubuntu 20.04 LTS, when I select “home” (/home/sean) as my default download folder, Brave changes this to “/run/user/1000/doc/33d63c81/sean”
Then when I actually right-click a file to save it, I have to navigate to the location I want in my home folder.
I can’t put my finger on when this started, but downloads had been working correctly previously (maybe before I upgraded Ubuntu to 20.04).
How can this issue be reproduced?
Go to settings/downloads, click to change folder and select literally any folder.
Expected result:
I expect the folder to change to the one I select and not something in /run/user which is ephemeral and created by pam_systemd.
Brave version
Version 1.30.87 Chromium: 94.0.4606.71 (Official Build) (64-bit)
Additional Information:
OS version: Ubuntu 20.04.3 LTS
I found the following on GitHub under a different project (Flameshot) where users were complaining of the same behavior under 20.04, I think from their developer:
"Okay the root cause is the interaction between gnome file manager and Qt’s QFileDialog. If I used a Qt file prompt instead of the native dialog box, this issue (and other issues) go away. Here is a similar issue from another project: OPM/ResInsight#6345
Unfortunately this means I need to disable the native dialogs for file saving which makes the theme ugly."
Thread here: https://github.com/flameshot-org/flameshot/issues/1144