Closed haileys closed 5 months ago
This is not a duplicate of https://github.com/signalapp/Signal-Desktop/issues/6122
StartupWMClass
is set to Signal
as the linked issue suggests as a workaround, and the generic app icon is still used.
$ grep StartupWMClass /usr/share/applications/signal-desktop.desktop
StartupWMClass=Signal
I can confirm that I have this issue in Wayland/GNOME as well (Ubuntu 24.04). Changing the wmclass to signal (lowercase) resolved the issue for me.
I set my local .desktop file to:
[Desktop Entry]
Name=Signal
Exec=/opt/Signal/signal-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-features=WaylandWindowDecorations --no-sandbox %U
Terminal=false
Type=Application
Icon=signal-desktop
StartupWMClass=signal
Comment=Private messaging from your desktop
MimeType=x-scheme-handler/sgnl;x-scheme-handler/signalcaptcha;
Categories=Network;InstantMessaging;Chat;
@yochaigal That does indeed fix it for me. Running signal-deskop with WAYLAND_DEBUG=1
shows:
[2279573.109] -> xdg_surface@39.get_toplevel(new id xdg_toplevel@40)
[2279573.114] -> xdg_toplevel@40.set_app_id("signal")
[2279573.118] -> xdg_toplevel@40.set_title("Signal")
I'll send a patch upstream to the Arch Linux package changing StartupWMClass
Using a supported version?
Overall summary
Instead the generic icon is shown:
This is because Signal does not set an app ID when running under Wayland (screenshot from GNOME's built-in Looking Glass tool):
Steps to reproduce
--ozone-platform=wayland
Expected result
Actual result
Screenshots
No response
Signal version
7.60
Operating system
Arch Linux, GNOME 46, Mutter 46
Version of Signal on your phone
No response
Link to debug log
No response