Bug 401084

Summary: Cache folder ~/.cache/kdevelop/ contains over 1200 files
Product: [Applications] kdevelop Reporter: Bernd Buschinski <b.buschinski>
Component: Build tools: CMakeAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol
Priority: NOR    
Version: 5.3.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bernd Buschinski 2018-11-15 21:16:33 UTC
SUMMARY
My folder
~/.cache/kdevelop
contains over 1200+ kdevelopcmake.* files.

I actually don't know I got that many, but it can't be good.

This Bug (for now) serves as a reminder and as a base for research how it did fill up like this.

STEPS TO REPRODUCE
1. work with KDevelop
2. ???


OBSERVED RESULT
~/.cache/kdevelop fills up over time.

EXPECTED RESULT
The folder should be empty once KDevelop is closed.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kernel 4.19.2
(available in About System)
KDE Plasma Version: 5.14.3
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.2
Comment 1 Kevin Funk 2018-11-16 06:55:23 UTC
Thanks for the report!

Note: Comes from the CMake server implementation:

plugins/cmake/cmakeserver.cpp
47:        QTemporaryFile file(cacheLocation + QLatin1String("/kdevelopcmake"));
Comment 2 Justin Zobel 2022-12-13 02:53:51 UTC
Thank you for reporting this issue in KDE software. As it was reported on an older version, can we please ask you to see if you cazn reproduce the issue with a more recent software version?  
  
If you can confirm this issue still exists in a recent version, please change the version field and the status to "REPORTED" when replying. Thank you!
Comment 3 Bernd Buschinski 2022-12-21 09:49:52 UTC
Tested with git master, for a week, there are no longer any file (beside from the qmlcache folder) in this directory.
Last files were from August/September, so I guess it was fixed around this time.