Bug 439476 - Ability to disable window rules with checkbox
Summary: Ability to disable window rules with checkbox
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kwinrules (show other bugs)
Version: 5.22.2
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 469136 483587 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-07-04 14:25 UTC by Andrew Shark
Modified: 2024-04-09 22:39 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Painted variant of the gui where the checkboxes may be added (172.94 KB, image/png)
2021-07-04 14:25 UTC, Andrew Shark
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Shark 2021-07-04 14:25:53 UTC
Created attachment 139846 [details]
Painted variant of the gui where the checkboxes may be added

SUMMARY
Wnen I am creating window rules for applications, I often need to temporary disable and and then enable them, because I want to test how they behaves with new rules. These "wrong" applications may behave strange, and I want to frequently check if the problem exists when no rules applied. But for this, I need to delete the rule (let's call it window selections, or please tell me how it is named) or to enter it by clicking edit and remove specific rule.

This is rather annoying. It would be comfortable to enable or disable window selections by checkbox, see attached image of how it may look.

STEPS TO REPRODUCE
I am describing Davinci Resolve application, but you can imagine any other "wrong" application.
1. Open Davinci Resolve, make some dialog window appear, such as parameters for noise reduction effect. See that the window has no title and border, dislike it.
2. Create window rule to force it to show border. Additionally, add rules you like. In my case, I make it closable, and change its type to dialog. Save the rule.
3. In Davinci Resolve open noise reduction dialog again. Switch to another window such as web browser. See that dialog "disappeared" (went behind the main application window).
4. I want to temporary disable some rules, for example I want to remove closable rule and remove changing window type rule.

OBSERVED RESULT
No comfortable way to quickly enable/disable several rules.
Your options are to export the window selection to file, then delete the window selection from list, then after tests import again from file. Or to remove both rules from window selection, do tests, then specify rules again.

EXPECTED RESULT
Just tick the checkbox to toggle window selection enableness. With no need to respecifying rules.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.22.2
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2023-05-02 15:57:03 UTC
*** Bug 469136 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2024-04-09 22:39:06 UTC
*** Bug 483587 has been marked as a duplicate of this bug. ***