-
Notifications
You must be signed in to change notification settings - Fork 720
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
File Picker Result in WebApp returns cancelled even files are picked on slow networks #1202
Comments
I also encountered this bug. I'm unable to select a file when running the file-picker on a virtual machine with the following configuration: OS: Windows 10 (64Bit) This suggests the problem can also be reproduced with a slow computer instead of a slow network. Both proposed solutions would work for me 👍 |
This issue is stale because it has been open for 14 days with no activity. |
I just want to bring up this topic again because for web apps this is a big issue.... |
This issue is stale because it has been open for 14 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Any news on this? @philenius ? |
Describe the bug
Sporadically the timeout in the following function is reached in a WebApp when selecting files from slow networks (VPN connection,
...) Thus it looks like the dialog is cancelled even files are selected. Since this happens sporadically I think I am sometimes slightly above the 500ms, Of course the timeout can be extended in src code thus the selection will work with the drawback that the cancel detection takes longer.
This is the code part causing the issue
Solutions:
Seperate cancel from file picking. If files are picked wait until data is completed.
Provide the timeout value as parameter of the pickFiles() function
Platform
Version
file_picker 5.2.4
The text was updated successfully, but these errors were encountered: