Closed wiiznokes closed 6 months ago
This is generally discouraged in modern toolkits. There exists no mechanism to send icon-data in wayland currently and even when running through X11 sending icon data has various issues (e.g. the desktop usually need multiple sizes or at best scalable icons also this doesn't allow for user-overrides, etc).
As such your application should rather provide a proper .desktop file to set it's icon.
Yes, this property is not given because it has no effect on Linux. Applications get their icons from their desktop entry files.
I'm wondering why windows settings from Iced are not available ?
For example, on Linux, to show an app icon on the dock, it is possible to use the icon field of https://docs.rs/iced/latest/iced/window/struct.Settings.html with Iced. But there is no such option on libcosmic.