Bug 491457 - Windows Rules ignores and deletes first rule
Summary: Windows Rules ignores and deletes first rule
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kwinrules (show other bugs)
Version: 6.1.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-08 21:51 UTC by Don Taylor
Modified: 2025-02-24 19:23 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
post-reboot, rule 1 is missing (58.43 KB, image/png)
2024-08-08 21:51 UTC, Don Taylor
Details
pre-reboot, rule 1 is in the list (60.99 KB, image/png)
2024-08-08 21:53 UTC, Don Taylor
Details
rule settings in detail (87.75 KB, image/png)
2024-08-08 21:54 UTC, Don Taylor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Don Taylor 2024-08-08 21:51:05 UTC
Created attachment 172416 [details]
post-reboot, rule 1 is missing

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
KWin Windows Rules occasionally ignores and removes my first rule. I've explored duplicating the rule several times, and it still happens, but only occasionally. I have not observed it deleting any rules except the first one in the list.

STEPS TO REPRODUCE
1. Create my rule (attachment KWin rule settings.png).
2. Click Apply.
3. Reboot.

OBSERVED RESULT
KWin Windows Rules occasionally ignores (i.e. it does perform the actions I've set) and removes my first rule. I've explored duplicating the rule several times, and it still happens, but only occasionally. I have not observed it deleting any rules except the first one in the list.

EXPECTED RESULT
My rule actions should be performed, and the rule should stay in the list.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.10.3-arch1-2 (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD FX-8370 Eight-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 580 Series

ADDITIONAL INFORMATION
Comment 1 Don Taylor 2024-08-08 21:53:01 UTC
Created attachment 172417 [details]
pre-reboot, rule 1 is in the list
Comment 2 Don Taylor 2024-08-08 21:54:10 UTC
Created attachment 172418 [details]
rule settings in detail

Rules 2 - 4 are duplicates of Rule 1
Comment 3 Ismael Asensio 2025-02-22 21:06:41 UTC
Thanks for your bug report!

Can you also please post the contents of '~/.config/kwinrulesrc' before and after the deletion happens?

This will be very helpful to try and find the cause of the issue.
Comment 4 Don Taylor 2025-02-24 17:16:51 UTC
Apologies for leaving that out; I will try to remember this in the
future. At this point, I've upgraded several times and the issue seems
to be resolved. My new details are given below.

Operating System: Arch Linux
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.12.15-1-lts (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD FX-8370 Eight-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 580 Series
Manufacturer: Gigabyte Technology Co., Ltd.


On 2/22/25 3:06 PM, Ismael Asensio wrote:
> https://bugs.kde.org/show_bug.cgi?id=491457
>
> --- Comment #3 from Ismael Asensio <isma.af@gmail.com> ---
> Thanks for your bug report!
>
> Can you also please post the contents of '~/.config/kwinrulesrc' before and
> after the deletion happens?
>
> This will be very helpful to try and find the cause of the issue.
>
Comment 5 Ismael Asensio 2025-02-24 19:23:43 UTC
> At this point, I've upgraded several times and the issue seems to be resolved. My new details are given below.

Thanks! I'm closing this in lieu of this new information, but feel free to reopen it if you happen to experience it in the future.