| Summary: | WM_CLASS not respected all the time on Plasma Wayland | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Srevin Saju <srevinsaju> |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | nate, nicolas.fella |
| Priority: | NOR | ||
| Version First Reported In: | 5.22.90 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Srevin Saju
2021-10-03 11:10:17 UTC
Is chromium running with native wayland support? . Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! Apologize for the delay, I have these in my chromium flags (~/.config/chromium-flags.conf). ``` --enable-features=UseOzonePlatform --ozone-platform=wayland ``` Does this look correct? Or am I missing any other chromium flags? StartupWMClass doesn't work with native wayland clients. Also, I'm not sure that there are any plans to add support for it on wayland. It has to be agreed upon by other desktop environments and gui toolkits. Oh okay, I was confused if its a bug in kwin wayland because it works on GNOME wayland (the icon is represented correctly). I haven't tried any other clients though. Well, GNOME Shell is a bit special beast. Both the compositor and the desktop shell run in the same process, it could have some magic internal wm_class mapping logic. Regarding chrome, there was an attempt to make it set reasonable app id on wayland. https://chromium-review.googlesource.com/c/chromium/src/+/3383817 If you use firefox, you could pass custom `-name` argument, e.g. https://gist.github.com/zzag/e2f0a5e022b726466c29afa3d497a3fc From the compositor side, there's nothing that we can do. > StartupWMClass doesn't work with native wayland clients. > From the compositor side, there's nothing that we can do. There is a legitimate (and somewhat unrelated) bug on our side, which is that the taskmanager ignores WM_CLASS for XWayland windows. See https://bugs.kde.org/show_bug.cgi?id=447845 |