SUMMARY On KDE Plasma 6.0.1, certain apps don't show icons in the icons-only task manager. An example app is Ghidra, which I have tested multiple versions of, and they are all affected by this. This only started to happen with the Plasma 6.0 upgrade, and was fine beforehand. STEPS TO REPRODUCE 1. Download the latest version of Ghidra from its GitHub Releases page, https://github.com/NationalSecurityAgency/ghidra/releases 2. Open Ghidra using the "ghidraRun" shell file provided in its download. 3. Once the main window has finished loading, the icon in the task manager will have disappeared. OBSERVED RESULT Ghidra's icon in the manager will have disappeared, and subsequent windows spawned by Ghidra disappear from the taskbar if another window is created by it. EXPECTED RESULT All icons should stay where they are and not disappear. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kernel version 6.7.8-arch1-1 (available in About System) KDE Plasma Version: 6.0.1 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2
This is a bug in the app itself. Most likely it's either not setting a .desktop file properly, or else its .desktop file is malformed, or else it's changing its WM_CLASS value at runtime. All of those would need to be fixed in the app itself. The reason this started happening in 6.0 is most likely because you're using Wayland now, which is stricter about this stuff than X11 was. On X11; those things were tolerated; on Wayland, no.