| Summary: | The name and window class of certain apps are not detected when creating a window rule | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Patrick Silva <bugseforuns> |
| Component: | rules | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | isma.af, nate, nicolas.fella |
| Priority: | NOR | ||
| Version First Reported In: | 5.26.4 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kwin/commit/e8545fdb37a490cb702703865100ec9f1a12b0e9 | Version Fixed/Implemented In: | 5.27 |
| Sentry Crash Report: | |||
| Attachments: | screenshot | ||
|
Description
Patrick Silva
2022-12-04 18:31:12 UTC
MakeMKV doesn't set the WM_CLASS X11 property, so we can't do much there A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/3274 Git commit e8545fdb37a490cb702703865100ec9f1a12b0e9 by Ismael Asensio. Committed on 10/12/2022 at 22:24. Pushed by iasensio into branch 'master'. kcms/rules: Notify when a window does not provide a class Some applications do not provide a window class according to the spec (WM_CLASS on X11, appId on Wayland), so KWin cannot "detect" this property. In those cases, notify the user that this is a bug within the application (so it is not confused for a KWin misbehavior) and also prevent setting a wrong description. FIXED-IN: 5.27 M +6 -2 src/kcmkwin/kwinrules/kcmrules.cpp M +11 -0 src/kcmkwin/kwinrules/rulesmodel.cpp https://invent.kde.org/plasma/kwin/commit/e8545fdb37a490cb702703865100ec9f1a12b0e9 |