Apps menu and panel show different icons for Clementine player. See the screenshot please. Reproducible: Always Actual Results: Apps menu and panel show different icons. Expected Results: The same Clementine icon in apps menu and panel.
Created attachment 101452 [details] demonstration
Same with virtualbox
yes, I can confirm this affects virtualbox. Same with nautilus, panel shows dolphin's icon. And Gnome Maps has no icon in panel.
Please provide the following info in this ticket: (a) xprop output for the Clementine window (b) Pin Clementine to your Task Manager ("Show launcher when not running" in the context menu), then find your plasma-org.kde.plasma.desktop-appletsrc in $HOME/.config/ and find the Clementine launcher URL that was written there and paste it here (c) Find the .desktop file your distro's package ship for Clementine and attach it
a) xprop output _NET_WM_ICON_GEOMETRY(CARDINAL) = 810, 730, 182, 36 _NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE _KDE_NET_WM_FRAME_STRUT(CARDINAL) = 0, 0, 21, 0 _NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 21, 0 _NET_WM_DESKTOP(CARDINAL) = 0 _KDE_NET_WM_ACTIVITIES(STRING) = "312da388-fac3-4737-8dfb-7d8e469eb7d0" WM_STATE(WM_STATE): window state: Normal icon window: 0x0 _NET_WM_STATE(ATOM) = _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_MAXIMIZED_HORZ _NET_WM_ICON(CARDINAL) = Icon (64 x 64): _NET_WM_ICON_NAME(UTF8_STRING) = _KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 1807617 XdndAware(ATOM) = BITMAP WM_NAME(STRING) = "Clementine" _NET_WM_NAME(UTF8_STRING) = "Clementine" _MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x3, 0x3e, 0x7e, 0x0, 0x0 _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL _XEMBED_INFO(_XEMBED_INFO) = 0x0, 0x1 WM_CLIENT_LEADER(WINDOW): window id # 0xa00007 WM_HINTS(WM_HINTS): Client accepts input or input focus: True Initial state is Normal State. _NET_WM_PID(CARDINAL) = 3019 _NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 10485770 WM_CLASS(STRING) = "clementine", "Clementine-qt5" WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST WM_NORMAL_HINTS(WM_SIZE_HINTS): user specified location: 0, 0 user specified size: 1131 by 685 program specified minimum size: 623 by 203 window gravity: NorthWest b) launchers=file:///usr/bin/clementine? c) Done.
Created attachment 101490 [details] .desktop file
Ok, basically mapping the window to a system-installed app fails because the .desktop file name is clementine.desktop but the WM_CLASS is Clementine-qt5, so it falls back to the executable name and an inferior icon code path. Please report this to the involved parties (either the distro or the Clementine devs, depending on who screwed this up :) - if that's addressed the icon will be the same again.
Thank you, Elke. What about nautilus and virtualbox? Do I need create new bug repots to the same bug affecting these programs?
Feel free to file separate tickets with the same info (it takes case-by-case investigation).