Skip to content

Files dragged from the Finder reach the page in raea's window (app.drops) - #153

Merged
shinyobjectz merged 1 commit into
mainfrom
finder-drops-014
Nov 15, 2026
Merged

shinyobjectz merged 1 commit into
mainfrom
finder-drops-014

Conversation

@shinyobjectz

Copy link
Copy Markdown
Owner

The Source page in raea-feed 0.1.4 takes files dropped anywhere on it. In a browser the page's own drop events carry them; raea's window draws the page natively, so winit's drag-and-drop never reached it. The window now keeps Bevy's FileDragAndDrop messages and answers app.drops -> {over, dropped}: over while a drag is on the window, then each dropped path once.

Test: cargo test -p raea-page-window --lib (native::drop_tests). Built raea-page-host --features window in release.

…ops)

The Source page takes files dropped anywhere on it (raea-feed's Source redesign, 0.1.4). In a browser the page's own
drop events carry them; raea's window draws the page natively, so winit's drag-and-drop never reached it. The window
keeps Bevy's FileDragAndDrop messages, whether files are over it and the paths dropped, and the page asks with
app.drops -> {over, dropped}: over while a drag is on the window, then each dropped path once. A drop is the person's
own act, so it is kept with or without --window's live calls.

Test: native::drop_tests (over while dragged, not over once it leaves, the paths handed once in order).
@shinyobjectz
shinyobjectz merged commit 4d7fa91 into main Nov 15, 2026
4 checks passed
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.

1 participant