https://bugs.kde.org/show_bug.cgi?id=393911
Martin Flöser <mgraess...@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://commits.kde.org/kwi | |n/9a02ed4d360ffa18c3c406ab0 | |eb1d01ccc9c0901 Version Fixed In| |5.12.6 Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #7 from Martin Flöser <mgraess...@kde.org> --- Git commit 9a02ed4d360ffa18c3c406ab0eb1d01ccc9c0901 by Martin Flöser. Committed on 20/05/2018 at 13:40. Pushed by graesslin into branch 'Plasma/5.12'. Do not save kwinrulesrc on every window opening/closing Summary: Our rule handling has had a grave error for years. Whenever a window with a rule was openend or closed the kwinrulesrc was written back to disk. The reason for this behavior is that temporary rules need to be discarded once they were used. For that there is a method discardUsed which invokes requestDiskStorage whenever a rule for the window was found. But it did not check whether there was a rule requiring this. This change modifies the discardUsed to track whether it changed a rule and only writes back in case there was a change. FIXED-IN: 5.12.6 Test Plan: Only compile tested Reviewers: #kwin, #plasma Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D12749 M +13 -5 rules.cpp M +1 -1 rules.h https://commits.kde.org/kwin/9a02ed4d360ffa18c3c406ab0eb1d01ccc9c0901 -- You are receiving this mail because: You are watching all bug changes.