Closed D4yvid closed 1 week ago
Wayland doesn't support window icon. It can have application icon only. (specified in a .desktop file.) Although for that to work, one need to be able to set the application id, which is currently not supported with the public API. (Tracked in https://github.com/slint-ui/slint/issues/1332 )
I'm going to close this issue as duplicate of https://github.com/slint-ui/slint/issues/1332 But thanks anyway for reporting an issue.
When you create a new window and set it's icon using the
icon
property, the icon doesn't appear on Wayland sessions, it only shows the Wayland's Logo instead. On X11 session it shows the icon, only on Wayland that it doesn't show.Slint code:
C++ Code:
In X11:
In Wayland: