MartyIX
MartyIX
## Master Avg time to create a grid was: 920 ms  ## Branch with `WindowsBatchPropertyMapper` Avg time to create a grid was: 694 ms (25% improvement) https://github.com/MartyIX/maui/tree/feature/2024-04-12-grid-perf-full containing two...
I have hit the same issue. Quite unexpected.
Testing with the latest commit of the `main` branch, it looks to me that it works on macOS in Essentials samples. See: * https://github.com/dotnet/maui/blob/e31e947a247d6edf2fc108218f12d46ff82b3272/src/Essentials/samples/Samples/ViewModel/FilePickerViewModel.cs#L136-L174 * https://github.com/dotnet/maui/blob/e31e947a247d6edf2fc108218f12d46ff82b3272/src/Essentials/samples/Samples/View/FilePickerPage.xaml It would be great...
For me it's more like "almost never picks the file and occasionally it does" so time is important. I guess the code does not wait for something.
@datvm So maybe you can fix the MAUI's macOS implementation for everyone to benefit? :)))
> I have never contributed to MS's repo before though, so I will need to get myself familiar with it. It's just creating a PR really. > Though I wonder...
On my macOS Ventura, I can see that this is the culprit: https://github.com/dotnet/maui/blob/ae20455793142ae0034bcfdf8f810ca66aec782a/src/Essentials/src/FilePicker/FilePicker.ios.cs#L41-L45 (Deleting the code seems to fix the issue) [The](https://github.com/dotnet/maui/blob/ae20455793142ae0034bcfdf8f810ca66aec782a/src/Essentials/src/FilePicker/FilePicker.ios.cs#L36-L39) [two](https://github.com/dotnet/maui/blob/ae20455793142ae0034bcfdf8f810ca66aec782a/src/Essentials/src/FilePicker/FilePicker.ios.cs#L41-L45) delegates compete with each other and if...
@cdavidyoung What is your macOS version please? I wonder if the issue manifests only on the newest macOS releases or whether it affects even older ones.
> As I mentioned before this used to work with my app as well. I think it must be some sort of race condition that makes it stop working in...
@mattleibow > I just tried on Monterey 12.6.3 and it seems to work. Is it possible that the bug manifests only on macOS Ventura?