Skip to content

Vaadin 24.8 DownloadHandler Breaks Cropping #22

@ClancyDamon

Description

@ClancyDamon

Describe the bug

The new DownloadHandler for Image components in Vaadin 24.8.x appears to be breaking the cropping feature. If you change an Image to utilize the new DownloadHandler version of the .setSrc() method as opposed to the now deprecated StreamResource version, the cropping dialog is broken. It displays a broken image instead of the image associated with the component.

I've been trying to debug this, but I haven't yet determined a root cause.

I am testing using a button to invoke the cropping, and I can confirm that the Handler has already been invoked and the image is displayed on my page.

Expected behavior

No response

Minimal reproducible example

No response

Add-on Version

1.1.2

Vaadin Version

24.8.4

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    To Do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions