| Summary: | Empty window rules (with only matching conditions) get deleted | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Patrick Silva <bugseforuns> |
| Component: | rules | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | bugs.kde.org, isma.af, xaver.hugl |
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Patrick Silva
2024-09-08 13:05:41 UTC
Can confirm. It's not just that changes don't get saved, the whole window rule doesn't get saved This was intentional according to the code. The RuleBook deletes "empty rules". If there is no property set, just conditions, the rule will never be matched so it serves no purpose. For instance, temporary properties (Apply Now or Force Temporarily) aare deleted after applied, and if there's no more properties, also the whole rule gets deleted. If we want to modify this behavior for UX purposes (some user might save the conditions and wanted to modifiy it later), we'd have to change some logic. The other solution is to explain this behavior in the placeholder when there are no added properties. *** Bug 462642 has been marked as a duplicate of this bug. *** |