The .desktop files in the vscode package are called `vscode.desktop` and `vscode-url-handler.desktop`. However, VSCode itself reports as `code` and/or `code-url-handler`. As such, at least on Plasma Wayland, it doesn't associate with the pinned application in the task manager, and gets a generic Wayland icon. A workaround consists of adding a KWin window rule (alt-f3 -> configure special application settings) and prefixing the desktop file name with "vs" to match Gentoo's desktop file name instead of the one expected by the application.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc15838b4224f5bdf4be3b7f1bbba9d46711b33b commit dc15838b4224f5bdf4be3b7f1bbba9d46711b33b Author: Adel KARA SLIMANE <adel.ks@zegrapher.com> AuthorDate: 2024-02-17 01:30:59 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2024-02-18 05:37:21 +0000 app-editors/vscode: fix .desktop file icon issue Closes: https://bugs.gentoo.org/924454 Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> .../{vscode-url-handler.desktop => code-url-handler.desktop} | 0 app-editors/vscode/files/{vscode.desktop => code.desktop} | 0 .../vscode/{vscode-1.86.1.ebuild => vscode-1.86.1-r1.ebuild} | 12 ++++++------ 3 files changed, 6 insertions(+), 6 deletions(-)