Skip to content

desktop: enable ico feature on image dependency - #5994

Merged
nicoburns merged 1 commit into
mainfrom
devin/1792775707-desktop-image-ico
Oct 23, 2026
Merged

nicoburns merged 1 commit into
mainfrom
devin/1792775707-desktop-image-ico

Conversation

@nicoburns

Copy link
Copy Markdown
Member

Summary

#5989 reduced dioxus-desktop's image features to png. Those features are only used by the public icon_from_memory / icon_from_path helpers (the built-in default icon is pre-decoded RGBA and doesn't use image), so after #5989 they could no longer decode .ico icons, the usual Windows icon format.

This adds ico (which also pulls in image's bmp decoder; no extra crates) and documents on both helpers that they support PNG and ICO. Apps that need other formats can enable the matching image features in their own Cargo.toml.

Link to Devin session: https://dioxus.staging.devinenterprise.com/sessions/e56d5b96a8ea436dafb6b660f3ee2250
Open in Devin Desktop: https://dioxus.staging.devinenterprise.com/desktop/session/e56d5b96a8ea436dafb6b660f3ee2250?variant=devin-insiders
Requested by: @nicoburns

@staging-devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access that start with 'Devin'.

  • Disable automatic comment, CI, and merge conflict monitoring

@nicoburns
nicoburns merged commit dccde40 into main Oct 23, 2026
21 of 23 checks passed
@nicoburns
nicoburns deleted the devin/1792775707-desktop-image-ico branch October 23, 2026 17:17
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.

1 participant