Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selecting multiple files #2366

Open
Pianisimo opened this issue Mar 5, 2023 · 4 comments
Open

Selecting multiple files #2366

Pianisimo opened this issue Mar 5, 2023 · 4 comments

Comments

@Pianisimo
Copy link

Right now after creating a FileDialogOptions and showing it:

let options = FileDialogOptions::new().multi_selection(); ctx.submit_command(commands::SHOW_OPEN_PANEL.with(options))

it can only be handled with the cmd.get(commands::OPEN_FILE). I have implemented a case for cmd.get(commands::OPEN_FILES) in my AppDelegate, but couldn't find a way to call it.

@xStrom
Copy link
Member

xStrom commented Mar 5, 2023

Just a quick note, that this might be related to #2332.

@Pianisimo
Copy link
Author

tested on mac: only commands::OPEN_FILE is triggered when selecting one or more files.
tested on windows: nothing gets triggered when selecting more than one file.

@Pianisimo
Copy link
Author

rust version: 1.67.1
druid version: 0.8.3

@Pianisimo
Copy link
Author

tested on linux: it is working as expected

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

No branches or pull requests

2 participants