mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
The shell picker IPC handlers (pickDirectory, pickAttachment, pickAttachments, pickImage, pickRepoIconImage, pickAudio) opened parentless OS dialogs, so on macOS the picker floated as a free window that could fall behind Orca instead of attaching as a sheet. Pass the sender's BrowserWindow to showSingleFlightOpenDialog, which already falls back to a parentless dialog when the window is missing or destroyed. Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>