https://bugs.kde.org/show_bug.cgi?id=315488

--- Comment #42 from Kai Krakow <k...@kaishome.de> ---
(In reply to Kai Uwe Broulik from comment #41)
> Yup, Chrome broke it and I updated the mapping rules, will work again in
> Plasma 5.8.4 [1]. There was also a logic flaw in the code that I fixed [2].
> 
> [1]
> https://cgit.kde.org/plasma-workspace.git/commit/?h=Plasma/5.
> 8&id=7c443aa53900521deab4fcd4641ea5273afc294e

I already added this to /etc/xdg/taskmanagerrulesrc (it's the only file by that
name on my system, so I'd expect it's the correct location). I restarted the
machine to be sure it takes effect. But nothing changed: Chrome is still
grouped no matter if I start it as web browser or as app container.

The browser shows this in xprop:

WM_WINDOW_ROLE(STRING) = "browser"
WM_CLASS(STRING) = "google-chrome", "Google-chrome"

One of the app windows (started from a .desktop entry created by chrome):

WM_WINDOW_ROLE(STRING) = "pop-up"
WM_CLASS(STRING) = "crx_ghajjjjboaaodcboidcanphmnidfikjb", "Google-chrome"

Desktop entry:

$ ~/.local/share/applications $ cat
chrome-ghajjjjboaaodcboidcanphmnidfikjb-Default.desktop
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=Autotask
Exec=/opt/google/chrome/google-chrome --profile-directory=Default
--app-id=ghajjjjboaaodcboidcanphmnidfikjb
Icon=chrome-ghajjjjboaaodcboidcanphmnidfikjb-Default
StartupWMClass=crx_ghajjjjboaaodcboidcanphmnidfikjb

I expect both windows having distinct icons on the taskbar.

> [2]
> https://cgit.kde.org/plasma-workspace.git/commit/?h=Plasma/5.
> 8&id=61860066a4cea845598fa4904607db1bba411356

Is this needed to fix the behavior? I could include it as Gentoo user patch and
recompile...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to