Bug 515018

Summary: Clearing cache break most of the kwin capability, often leading to crash.
Product: [Plasma] kwin Reporter: dmatteo002
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: crash    
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: KDE Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Journal of multiple crash (testing multiple time to clean .cache)

Description dmatteo002 2026-01-24 16:00:26 UTC
Created attachment 188849 [details]
Journal of multiple crash (testing multiple time to clean .cache)

SUMMARY
Cached data, should be able to be removed without having the system crash.
If the whole cache is removed, than most of the components became irresponsible, and it will probably crash, especially if anything is clicked. 

I'm pretty sure this is a regression, as I always did this for a quick way to fix some program, and it never crashed. It is possibly due the fact that more component are cached (like QML,...).

STEPS TO REPRODUCE
1. rm -fr ~/.cache/*

OBSERVED RESULT
Kwin become irresponsive and probably crash.

EXPECTED RESULT
Kwin may need some time to recreate such file but shouldn't crash.

SOFTWARE/OS VERSIONS
Operating System: KDE Linux 2026-01-23
KDE Plasma Version: 6.6.80
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.1
Kernel Version: 6.18.6-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7735HS with Radeon Graphics
Memory: 16 GiB of RAM (14.9 GiB usable)
Graphics Processor 1: AMD Radeon 680M
Graphics Processor 2: NVIDIA GeForce RTX 4060 Laptop GPU/PCIe/SSE2

ADDITIONAL INFORMATION