Skip to content

Conversation

@YkdWaWEzVmphR1Z1
Copy link
Contributor

cosmic-launcher and cosmic-app-libary use widget::icon_from_name, so those have different app icons, which does not look good and is confusing.


let cosmic_icon = IconSource::from_unknown(desktop_info.icon().unwrap_or_default())
.as_cosmic_icon()
let cosmic_icon = cosmic::widget::icon::from_name(desktop_info.icon().unwrap_or_default())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe IconSource::from_unknown is actually correct. Some icons are absolute paths. Maybe app library and launcher should be updated instead. Is the app tray showing the wrong icon?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not applying the icon theme, here Qogir-ubuntu.
image
It could be checked if the path is absolute or IconSource could be improved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants