SVG Desktop icons not working
Windows build number:
22621.0
Your Distribution version:
Ubuntu 23.04
Your WSL versions:
WSL-Version: 1.2.5.0 Kernelversion: 5.15.90.1 WSLg-Version: 1.0.51 MSRDC-Version: 1.2.3770 Direct3D-Version: 1.608.2-61064218 DXCore-Version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows-Version: 10.0.22621.1778
Steps to reproduce:
- install program e.g. Flatseal (https://flathub.org/apps/com.github.tchx84.Flatseal) with ONLY a svg icon (this issue isn't limited to flatpaks; it also affects deb packages ( .g. Nautilus) (the desktop files aren't limited to one packaging method))
- Standard penguin icon is shown in windows start menu and on the taskbar
Steps to reproduce working behavior:
- install e.g. org.gnome.Four-in-a-row (I installed it via flatpak); the available icons for Four-in-a-row are:
.
└── hicolor
├── 16x16
│ └── apps
│ └── org.gnome.Four-in-a-row.png -> ../../../../../../app/org.gnome.Four-in-a-row/current/active/export/share/icons/hicolor/16x16/apps/org.gnome.Four-in-a-row.png
├── 22x22
│ └── apps
│ └── org.gnome.Four-in-a-row.png -> ../../../../../../app/org.gnome.Four-in-a-row/current/active/export/share/icons/hicolor/22x22/apps/org.gnome.Four-in-a-row.png
├── 24x24
│ └── apps
│ └── org.gnome.Four-in-a-row.png -> ../../../../../../app/org.gnome.Four-in-a-row/current/active/export/share/icons/hicolor/24x24/apps/org.gnome.Four-in-a-row.png
├── 256x256
│ └── apps
│ └── org.gnome.Four-in-a-row.png -> ../../../../../../app/org.gnome.Four-in-a-row/current/active/export/share/icons/hicolor/256x256/apps/org.gnome.Four-in-a-row.png
├── 32x32
│ └── apps
│ └── org.gnome.Four-in-a-row.png -> ../../../../../../app/org.gnome.Four-in-a-row/current/active/export/share/icons/hicolor/32x32/apps/org.gnome.Four-in-a-row.png
├── 48x48
│ └── apps
│ └── org.gnome.Four-in-a-row.png -> ../../../../../../app/org.gnome.Four-in-a-row/current/active/export/share/icons/hicolor/48x48/apps/org.gnome.Four-in-a-row.png
├── 512x512
│ └── apps
│ └── org.gnome.Four-in-a-row.png -> ../../../../../../app/org.gnome.Four-in-a-row/current/active/export/share/icons/hicolor/512x512/apps/org.gnome.Four-in-a-row.png
Manually providing a png image in addition to the svg works as intended
(e.g. 128x128 png)
WSL logs:
No response
WSL dumps:
No response
Expected behavior:
App icon should be visible in start menu and on the taskbar
Actual behavior:
Standard penguin icon is shown in windows start menu and on the taskbar (with the extra little pinguin overlay showing it's running in WSL 🐧)
According to https://github.com/microsoft/wslg/releases/tag/v1.0.54 this is already fixed it's just not released yet
For me, running the latest code (compiled from git) the SVG icons work in the start menu, but not in the taskbar.
edit taskbar icons work too if I use x11/xwayland instead of wayland (running with XDG_SESSION_TYPE=X11 QT_QPA_PLATFORM=xcb kwrite)
According to https://github.com/microsoft/wslg/releases/tag/v1.0.54 this is already fixed it's just not released yet
Excuse me, it's already August now, why hasn't it been released yet.
Did this actually fix the issue? I'm not seeing functional icons using wslg 1.0.65
wsl --version
WSL version: 2.4.5.0
Kernel version: 5.15.167.4-1
WSLg version: 1.0.65
MSRDC version: 1.2.5620
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26100.2454
https://github.com/microsoft/wslg/pull/1061 was supposed to fix this?
What about this issue?