You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a Wayland-based WM/DE (Hyprland, GNOME 3,…), dropping files (ondrop) always return an empty list of files.
The same machine, when using an X-based desktop environment (Cinnamon,…), doesn't have this issue.
Steps To Reproduce
Steps to reproduce the behavior:
Use any Wayland-based WM or DE
cargo r --example file_upload
Click on Choose Files and select a file: it works
Click on Clear Files
Drag and drop the same file on the drop area: it does not work
Expected behavior
Dragging and dropping a file in the drop area should have the same effect as selecting it using the Choose Files button.
Environment:
Dioxus version: v0.5.6
Rust version: stable (v1.82.0)
OS info: ArchLinux with Hyprland // Ubuntu 24.04.1 with GNOME 3
App platform: desktop
Notes
I noticed the idea to switch from tao to winit #2706
Problem
When using a Wayland-based WM/DE (Hyprland, GNOME 3,…), dropping files (
ondrop
) always return an empty list of files.The same machine, when using an X-based desktop environment (Cinnamon,…), doesn't have this issue.
Steps To Reproduce
Steps to reproduce the behavior:
cargo r --example file_upload
Choose Files
and select a file: it worksClear Files
Expected behavior
Dragging and dropping a file in the drop area should have the same effect as selecting it using the
Choose Files
button.Environment:
desktop
Notes
I noticed the idea to switch from tao to winit #2706
However, winit seems to have the same issue:
rust-windowing/winit#720
rust-windowing/winit#1881
The text was updated successfully, but these errors were encountered: