Bug 515881

Summary: User created Windows Rules order not respected after importing rules file
Product: [Applications] systemsettings Reporter: Pbryanw <photmailw>
Component: kcm_kwinrulesAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: minor CC: isma.af, plasma-bugs-null
Priority: NOR    
Version First Reported In: 6.5.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Pbryanw 2026-02-11 18:46:22 UTC
SUMMARY
Imported kwin window rules do not respect original user created order.

STEPS TO REPRODUCE
1. I have around 15 user-created Window Rules, which are arranged into alphabetical order.
2. This was done through the UI at Settings → Window Management → Window Rules.
3. Use the UI to export these rules as a .kwinrule file.
4. After setting up a new linux system (running KDE Plasma), the original order is not respected when these rules are re-imported.

OBSERVED RESULT
Windows rules are imported in a seemingly random order.

EXPECTED RESULT
The original user-defined rule order (in my case alphabetical) should be respected.

SOFTWARE/OS VERSIONS
Operating System: Nobara Linux 43
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1
Kernel Version: 6.18.9-201.nobara.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 9800X3D 8-Core Processor
Memory: 32 GiB of RAM (30.9 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 5070 Ti
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X870 AORUS ELITE WIFI7
System Version: Default string-CF-WCP-ADO

ADDITIONAL INFORMATION
There is also another similar bug report from just over 4 years ago, but I think they conflated this issue with another one they were experiencing. However, I see that this has now been assigned, so this new report might be redundant now.
https://bugs.kde.org/show_bug.cgi?id=442625
Comment 1 Bug Janitor Service 2026-02-11 19:33:43 UTC
Thank you for the bug report!

However Plasma 5.23.90 no longer receives updates or maintenance from KDE; active versions are 6.4 or newer. Please upgrade to an active version as soon as your distribution makes it available to you. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one.

If you need help with Plasma 5.23.90, please contact your distribution, who bears the responsibility of providing help for older releases that are no longer receiving updates from KDE.

If you can reproduce the issue after upgrading to an active version, feel free to re-open this bug report.