question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Maui FilePicker returns zero files when selecting a lot of files.

See original GitHub issue

Description

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

  1. Create a .Net Maui program that targets MacCatalyst.
  2. Implement the Maui.File.Picker setting jpeg and png options (as per repo) did not test without this requirement.
  3. 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:open
  • Created 10 months ago
  • Reactions:1
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
rachelkangcommented, Dec 19, 2022

Thank you for providing a repo! (we unfortunately did not see it before, but am reopening the issue now 😃

0reactions
Zhanglirong-Winniecommented, Jul 12, 2023

Verified this issue with Visual Studio Enterprise 17.6 (build 1575). Can repro on macOS platform with sample project. FilePickerManyFilesBug-main.zip 11482

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found