Bug 386235 - Falkon saves temporarily downloaded files in ~
Summary: Falkon saves temporarily downloaded files in ~
Status: RESOLVED FIXED
Alias: None
Product: Falkon
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-27 06:04 UTC by Kishore Gopalakrishnan
Modified: 2017-10-27 12:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kishore Gopalakrishnan 2017-10-27 06:04:38 UTC
After clicking a file download link, if I select the option to directly open the file instead of saving it, falkon saves the file in a directory in my home, like ~/falkonXXXXXX. While this folder is removed on Falkon exit, a better behaviour which wouldn't lead to temporary file clutter in ~ would be to save the files in a folder in ~/.local/tmp or /tmp. 

Falkon version information (from help > about Falkon):
Application version 2.1.99 (40d42f12)
QtWebEngine version 5.9.2
© 2010-2017 David Rosca
https://www.qupzilla.com
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Falkon/2.1.99 Chrome/56.0.2924.122 Safari/537.36

I am using the falkon-git(https://aur.archlinux.org/packages/falkon-git/) package from the AUR.
Comment 1 David Rosca 2017-10-27 12:23:17 UTC
Git commit b6288358efb646b2b1a4601289ea0cba0b983f19 by David Rosca.
Committed on 27/10/2017 at 12:22.
Pushed by drosca into branch 'master'.

Don't create temporary dir in $HOME

M  +1    -7    src/lib/app/datapaths.cpp
M  +0    -3    src/lib/app/datapaths.h
M  +0    -2    src/lib/app/mainapplication.cpp

https://commits.kde.org/falkon/b6288358efb646b2b1a4601289ea0cba0b983f19