| Summary: | Window Rules unable to detect different window types or roles | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | saunders |
| Component: | rules | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | admin, audvare, d_debnath, isma.af, plasma-bugs-null, xaver.hugl |
| Priority: | NOR | Keywords: | wayland-only |
| Version First Reported In: | 6.1.0 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | blank text in "Window Types" menu | ||
|
Description
saunders
2024-07-10 22:07:04 UTC
Wayland windows return an empty string for windowRole() https://invent.kde.org/plasma/kwin/-/blob/master/src/waylandwindow.cpp?ref_type=heads#L118 Is the concept of "window role" completely deprecated on Wayland? If so, we should find some alternative property to match different kinds of windows > Is the concept of "window role" completely deprecated on Wayland? It's just not a thing. https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/238 will provide something similar. Created attachment 179870 [details]
blank text in "Window Types" menu
Is this (blank text in "Window Types" menu) related?
Surface::tag() and Surface::setTag() in conjunction with wl_proxy_get_tag() and wl_proxy_set_tag() are not implemented yet in kwayland/src/client/surface.cpp. Also Window::windowRole() should probably translate PlasmaShellSurface::role() enum to according QString Both pieces of info are needed by clientToVariantMap() in kwin/src/dbusinterface.cpp |