Bug 419424

Summary: Kwinrules not saved on crash restart
Product: [Plasma] kwin Reporter: xxasdqwe
Component: rulesAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.13.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description xxasdqwe 2020-03-30 15:45:40 UTC
SUMMARY
Kwinrules not saved on crash restart

STEPS TO REPRODUCE
1. create rule
2. system crashes
3. invoke rule

OBSERVED RESULT
rule not saved in .config/kwinrulesrc

EXPECTED RESULT
would be saved after clicking apply, and not overwritten by unknown template(?)

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Vlad Zahorodnii 2023-01-25 10:33:24 UTC
kwin doesn't crash for me. Given it's a reasonably old bug report and window rules code changed a bit, I'll close this bug report. If you can still reproduce it, please provide us a backtrace of the crash with the debug symbols. The problem is not that the window rules config file is overwritten, but that kwin crashes.