Skip to content

Workaround for wrong task manager icons on wayland

Mladen Milinkovic requested to merge work/maxrd2/fix-wayland-icons into master

Not sure if this is correct way to fix this - is KWayland::Client::PlasmaWindow::resourceName() supposed to contain WM_CLASS instance for X11 windows?

KWayland::Client::PlasmaWindow::resourceName() should return WM_CLASS for X11 windows (?) instead it returns empty string on (X)Wayland.
As a consequence wrong .desktop url is matched and task manager displays wrong app icon in some cases (e.g. Chrome/Chromium/Brave apps).

Since KWin has correct icon AppData::icon is overriden with icon from KWayland::Client::PlasmaWindow::icon()

BUG: 358277

Edited by Mladen Milinkovic

Merge request reports

Loading