Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934644 - app-editors/vscodium: Taskbar not showing correct icon
Summary: app-editors/vscodium: Taskbar not showing correct icon
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Adel KARA SLIMANE
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-21 05:22 UTC by Mike Bryce
Modified: 2024-06-21 14:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Bryce 2024-06-21 05:22:17 UTC
The vscodium window has the wrong desktopName value set, so the taskbar shows the generic wayland icon.

This apparently happens because of the following lines in the package's build/gulpfile.vscode.js file:

// for linux url handling
if (platform === 'linux') {
    packageJsonUpdates.desktopName = `${product.applicationName}-url-handler.desktop`;
}

That creates the package.json file that is installed at /opt/vscodium/resources/app/package.json with the incorrect desktopName entry.

If I manually edit this entry to match the name of the .desktop file, the icon shows correctly.

Further info from Solus developer at:
https://github.com/microsoft/vscode/issues/154693#issuecomment-1944230699