Bug 442220

Summary: Multiple matching Window Rule targets + Shortcut
Product: [Plasma] kwin Reporter: Dominik Kummer <admin>
Component: rulesAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: isma.af, nate
Priority: NOR    
Version First Reported In: 5.22.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dominik Kummer 2021-09-09 11:02:52 UTC
SUMMARY
Sometimes multiple windows can match a single window rule with defined shortcut. For example all window classes "Dolphin" match a window rule containing a shortcut rule "Meta+D". In this case only the first opened window will be effected by the shortcut rule. The proposed behavior is to roll/switch trough all matching windows by pressing the related shortcut multiple times.

STEPS TO REPRODUCE
1. Define a window shortcut rule "Meta+D" for dolphin window class
2. Open multiple dolphin instances
3. Press shortcut

OBSERVED RESULT
First opened dolphin window is getting focus


EXPECTED RESULT
All matching window classes/application instances should be switched through (similar to task switcher) by pressing shortcut "Meta+D" multiple times. So to say a narrowed alternative to task switcher.

25th ANNIVERSARY:
I am currently working on a video presentation "what kde means to me" where I also want to show some advanced use cases for window rules on several activities/desktops to better organize workflows. This should also show case why I cannot wage labor on MS windows anymore, because it grinds my nerves.
So I would love to demonstrate this feature also!

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.22.5
Comment 1 Ismael Asensio 2021-11-01 18:26:22 UTC

*** This bug has been marked as a duplicate of bug 442219 ***