Bug 462955 - Window shortcut rules not working when more then one window open that matches the rules
Summary: Window shortcut rules not working when more then one window open that matches...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: rules (other bugs)
Version First Reported In: 5.26.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-12 14:41 UTC by josip
Modified: 2025-07-03 03:47 UTC (History)
4 users (show)

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


Attachments
kwin rules config (499 bytes, text/plain)
2022-12-12 14:41 UTC, josip
Details

Note You need to log in before you can comment on or make changes to this bug.
Description josip 2022-12-12 14:41:48 UTC
Created attachment 154535 [details]
kwin rules config

SUMMARY
Window shortcut rules now working when more then one window open that matches rules.

STEPS TO REPRODUCE
1. Add two window rules with Shortcuts
2. Open first window (Konsole), confirm that window shortcut works OK
3. Open second widow (Chromium)

OBSERVED RESULT
Neither Chromium nor Konsole shortcuts work. Both windows have correct shortcuts (ALT+1 and ALT+2) displayed in titlebars. Closing one of the applications does not fix the issue. But closing both and starting one of them again will enable shortcuts for that started app, until second is started and then both are not working.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 37 with Plasma 5.26.4
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Running Wayland session

ADDITIONAL INFORMATION
Reproducible in freshly installed Fedora 37, and Opensuse Tumbleweed.
Comment 1 josip 2022-12-12 14:50:42 UTC
Same bug can be replicated in Fedora 37 Live ISO with Plasma 5.26.2 installed.
On top of already reported issues, I can reliably replicated Plasmashell crashing when assigning custom application shortcut to Firefox and then closing Firefox window. This will crash whole plasmashell, both on Fedora with Plasma 5.26.2 and 5.26.4.
Comment 2 Piotr Dobrogost 2025-04-08 12:51:24 UTC
Is this still an issue?
Comment 3 Piotr Dobrogost 2025-06-03 13:38:26 UTC
I have many windows opened with different shortcuts set by window rules and all shortcuts work so I think this is not valid anymore and can be closed.

```
Operating System: Fedora Linux 42
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.9-300.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 ร— AMD Ryzen 5 7600 6-Core Processor
Memory: 14.8 GiB of RAM
Graphics Processor: AMD Radeon Graphics
```
Comment 4 Piotr Dobrogost 2025-06-03 13:39:24 UTC
It seems to work now (see the previous comment).
Comment 5 Bug Janitor Service 2025-06-18 03:47:46 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2025-07-03 03:47:27 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.