Skip to content

image crate default feature is not set by iced_graphics which causes image rendering to fail silently when using custom runtime #3178

@tomben13

Description

@tomben13

Is your issue REALLY a bug?

  • My issue is indeed a bug!
  • I am not crazy! I will not fill out this form just to ask a question or request a feature. Pinky promise.

Is there an existing issue for this?

  • I have searched the existing issues.

Is this issue related to iced?

  • My hardware is compatible and my graphics drivers are up-to-date.

What happened?

When using a custom runtime like examples/integration is doing, images added to the view don't render. The reason is that in this particular setup, with the image feature set for iced_widget, iced_renderer, iced_wgpu and iced_graphics, the default feature of the image crate is not set. This is not the case when directly using the iced dependency which itself sets the default feature.

What is the expected behavior?

Images should render.

iced_graphics should set the default feature of the image crate.

Version

crates.io release

Operating System

Linux

Do you have any log output?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions