https://bugs.kde.org/show_bug.cgi?id=439886

            Bug ID: 439886
           Summary: Remove `~/.cache/kioexec/krun/` and use regular
                    temporary files instead
           Product: frameworks-kio
           Version: 5.84.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kio-bugs-n...@kde.org
          Reporter: geisse...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY
KIO places downloaded files in the permanent cache directory
`~/.cache/kioexec/krun/`, which persists across different sessions and is never
cleaned up by the system. Users have reported this directory to grow enormously
over time, unless manual measures are taken.
A persistent cache seems inappropriate for KIO downloads. Instead, regular
temporary files should be used, placed in the system's dedicated temporary
directory (QStandardPaths::TempLocation,
https://doc.qt.io/qt-5/qstandardpaths.html). Temporary files have the advantage
that they are cleaned up automatically on reboot.
Therefore, I would suggest to remove `~/.cache/kioexec/krun/` entirely and
modify all components that currently rely on this directory to use temporary
files instead.

STEPS TO REPRODUCE
Invoke a KIO download.

OBSERVED RESULT
The file will get placed in `~/.cache/kioexec/krun/`.

EXPECTED RESULT
The file should be placed in the temporary directory of the operating system.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.3
Kernel Version: 5.8.0-59-generic (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
See also https://bugs.kde.org/show_bug.cgi?id=439477

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to