SUMMARY Icon with a dash in their name does display properly when referenced in a ".desktop" file. A perfect example is when you install Proton Pass or Proton mail application. They both use icons with a dash in their name. The icon would not display properly unless you remove the dash. STEPS TO REPRODUCE 1. take 2 different icons 2. Name one ABC, name the other ABC-DEF 3. Reference the ABC-DEF in a .desktop file OBSERVED RESULT The icon displayed is not the correct one. it will display ABC whether you are in Dolphin, the Task Manager or the application launcher. EXPECTED RESULT See the icon referenced in the .Desktop file SOFTWARE/OS VERSIONS KDE Plasma Version: 5 and 6 ADDITIONAL INFORMATION I notice this issue for a while before Plasma 6 was officially released. And Noticed it on Manjaro and Fedora
Tested on git-master - I cannot reproduce the behavior reported On 6.2.3 I only see the default icon with the task manager icon. It looks like what you're seeing was fixed. The fix will be present on your system likely when Plasma is updated on it to 6.3 To reproduce here's what I did: Using a new custom .desktop file for an Obsidian vault, I get the same results with an icon with or without a dash (icon picked from picker or with Browse) I also tested with Firefox Result: Dolphin: Chosen icon correctly shows next to the .desktop file Task manager: On git-master, icon is the one I chose. On 6.2.3 the icon is the default Obsidian icon KRunner: Shows the chosen icon correctly If the bug is still on your system when it updates to Plasma 6.3, feel free to re-open this bug report. Thanks!