Open a dropped folder from the window drop event #120

Merged
spark merged 1 commits from task/folder-drop-window into main 2026-10-23 17:59:18 +01:00
Owner

A folder dropped on the main window arrived as a window event. The contact sheet only remembered webview drops, so opening the folder was refused (not_allowed).

Desktop 0.3.23.

Tested against the compile of the desktop crate. The folder used to reproduce it was /Users/cyclop/Desktop/2026/20261023/RAW (288 CR3).

A folder dropped on the main window arrived as a window event. The contact sheet only remembered webview drops, so opening the folder was refused (`not_allowed`). Desktop 0.3.23. Tested against the compile of the desktop crate. The folder used to reproduce it was `/Users/cyclop/Desktop/2026/20261023/RAW` (288 CR3).
spark added 1 commit 2026-10-23 17:36:51 +01:00
Remember a dropped folder from the window event, so the contact sheet can open it.
ci / rust (pull_request) Successful in 11m30s
ci / typescript (pull_request) Successful in 15m21s
desktop-release / build (--target universal-apple-darwin, dmg,app, darwin-universal, macos) (push) Successful in 23m40s
desktop-release / build (deb,appimage, linux-x86_64, ubuntu-latest) (push) Successful in 41m54s
a8a887e82f
The main window delivers the drop as a window event. Recording it only on the webview event left the folder unknown, and opening it was refused.
spark merged commit fa2e494d99 into main 2026-10-23 17:59:18 +01:00
Sign in to join this conversation.