Maui FilePicker returns zero files when selecting a lot of files.
See original GitHub issueDescription
I have implemented the Maui FilePicker. I am running a MacCatalyst program. I have no problem selecting one or a few files but if I try to select a lot of files the FilePicker simply returns zero results without any error.
I made a video. https://www.loom.com/share/acee7f15816949a5b4a1f2abbaa18bf0
Steps to Reproduce
- Create a .Net Maui program that targets MacCatalyst.
- Implement the Maui.File.Picker setting jpeg and png options (as per repo) did not test without this requirement.
- Select 1000 or more files.
I cannot send the 1000 jpegs so you will need to get those to test, I suppose.
Link to public reproduction project repository
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
macOS, I was not able test on other platforms
Affected platform versions
MacOS 12.5
Did you find any workaround?
No response
Relevant log output
Nothing to report - no failures or output
Issue Analytics
- State:
- Created 10 months ago
- Reactions:1
- Comments:11 (2 by maintainers)
Top Results From Across the Web
File picker in Maui allow to select multi files
According to the official documentation of MAUI File Picker, you could select multiple files using FilePicker.PickMultipleAsync .
Read more >File picker multi select failed with selection of a lot of files.
Hi, When i select 1000 files with multi select the app crash with this exception: The maximum number of items for the access...
Read more >Use .NET MAUI FilePicker to Pick PDFs, Images ... - YouTube
NET MAUI 0 :12 What is File Picking ? 1:18 Implement Single File Picker 8:34 Multiple Files Picker 11:32 Pick Custom File Types...
Read more >MAUI FilePicker Sometimes Returns Null?
File picker docs say The FullPath property doesn't always return the physical path to the file. To get the file, use the OpenReadAsync...
Read more >FilePicker throwing an exception on mac OS with .net MAUI
Initial configuration. First of all, ensure you're calling that method in the Main Thread. Secondly, notice that there is some setup to make ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thank you for providing a repo! (we unfortunately did not see it before, but am reopening the issue now 😃
Verified this issue with Visual Studio Enterprise 17.6 (build 1575). Can repro on macOS platform with sample project. FilePickerManyFilesBug-main.zip