Skip to content

Implement Windows native handlers for file/folder pickers - #2

Merged
Shachindra merged 1 commit into
NetSepio:mainfrom
BunnyPraneeth5:main
Sep 1, 2026
Merged

Shachindra merged 1 commit into
NetSepio:mainfrom
BunnyPraneeth5:main

Conversation

@BunnyPraneeth5

Copy link
Copy Markdown
Contributor

Adds native Win32/COM implementations for pickFilesForUpload and selectHostFolder on com.erebrus.drop/network, which previously threw MissingPluginException on Windows (no channel was registered at all).

  • pickFilesForUpload: IFileOpenDialog multi-select, returns real file paths, no cache copy needed.
  • selectHostFolder: IFileOpenDialog folder-picker mode, returns bare path + display name + platform: Windows.
  • Other methods on this channel remain unimplemented (unchanged behavior).

Manually tested on Windows: multi-file upload, folder selection, cancel handling, non-ASCII names, restart persistence.

Adds native Win32/COM implementations for pickFilesForUpload and selectHostFolder on com.erebrus.drop/network, which previously threw MissingPluginException on Windows (no channel was registered at all).

- pickFilesForUpload: IFileOpenDialog multi-select, returns real file paths, no cache copy needed.
- selectHostFolder: IFileOpenDialog folder-picker mode, returns bare path + display name + platform: Windows.
- Other methods on this channel remain unimplemented (unchanged behavior).

Manually tested on Windows: multi-file upload, folder selection, cancel handling, non-ASCII names, restart persistence.

@Shachindra Shachindra left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Shachindra
Shachindra merged commit c21437e into NetSepio:main Sep 1, 2026
1 check 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.

2 participants