Skip to content

Window freezes when FileDragAndDrop Event is triggered in the drag_and_drop example #19030

Open
@jakemoran

Description

@jakemoran

Bevy version

0.16.0

Relevant system information

AdapterInfo { name: "AMD Radeon RX 6700 XT", vendor: 4098, device: 29663, device_type: DiscreteGpu, driver: "32.0.13031.3015", driver_info: "", backend: Dx12 }

SystemInfo { os: "Windows 10 Pro", kernel: "19045", cpu: "Intel(R) Core(TM) i5-8600K CPU @ 3.60GHz", core_count: "6", memory: "16.0 GiB" }

cargo 1.85.0 (d73d2caf9 2024-12-31)

What you did

Run the drag_and_drop example and attempt to drop a file onto the window.

What went wrong

When hovering a file over the window and triggering a FileDragAndDrop event, the window freezes and the event is not logged.

The issue seems to be intermittent, sometimes I can drag and drop files with no issues but then the freeze occurs again after rerunning the example.

Additional information

Resizing the window causes it to unfreeze, suggesting this might be related to #18065?

My app is dependent on the user supplying data by dropping a file onto the window, so this is currently blocking my upgrade to 0.16.

To work around it, I need to drop my version of bevy_window to 0.15.2. I see the same issue when using 0.15.3, similar to the issue I linked above.

Relevant dependency versions (let me know if I'm excluding any important ones):

accesskit_winit: 0.25.0
raw-window-handle: 0.6.2
winit: 0.30.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-WindowingPlatform-agnostic interface layer to run your app inC-BugAn unexpected or incorrect behaviorO-WindowsSpecific to the Windows desktop operating systemS-Needs-DesignThis issue requires design work to think about how it would best be accomplishedS-Needs-ReproductionNeeds an up-to-date or minimal reproduction

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions