Skip to content

WIP: Initiating and receiving drag and drop using winit API#11966

Open
eira-fransham wants to merge 5 commits into
slint-ui:feature/winit-0.31from
eira-fransham:eira/dnd
Open

WIP: Initiating and receiving drag and drop using winit API#11966
eira-fransham wants to merge 5 commits into
slint-ui:feature/winit-0.31from
eira-fransham:eira/dnd

Conversation

@eira-fransham
Copy link
Copy Markdown
Contributor

@eira-fransham eira-fransham commented Jun 4, 2026

Built to use rust-windowing/winit#4571

Confirmed to work on Windows, macOS and X11. On Wayland (at least on KDE), the compositor isn't sending the DragDropped event for either internal or external drops. It works fine for the DnD example in winit, so this is almost certainly a bug in this PR and not the winit PR.

Showcase (macOS)

Showing off move, copy, and dragging to/from external applications.

2026-06-04.17-00-18.mov

@ogoffart ogoffart changed the base branch from master to feature/winit-0.31 June 4, 2026 14:05
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.

2 participants