CommunityToolkit / CommunityToolkit/Maui
[BUG] await FolderPicker.Default.PickAsync(); => bugged on CommunityToolkit.Maui 15.0.1 (.Net 10 Project) -> does not trigger
- Dominant language
- C#
- Stars
- 2.7k
- Forks
- 500
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 7
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Did you read the "Reporting a bug" section on Contributing file?
- [x] I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug
### Current Behavior
I sadly have to report a bug on the official (stable release) version of NuGet Package "CommunityToolkit.Maui" on version 15.0.1
**|The bug|:**
The function: await FolderPicker.Default.PickAsync();
Is sadly bugged and does not trigger. The Folderselection browser/dialog does not open at this version and just continues with an empty result.
**|The solution/workaround|:**
Rollback to the version 15.0.0. After downgrading to this version, the function behaves normal and in full functionality.
**|Test/environment|:**
MAUI .Net 10.0 @ Android 12 Phone/device
MAUI .Net 10.0 @ Android 13 Phone/device
MAUI .Net 10.0 @ Android 14 Phone/device
MAUI .Net 10.0 @ Android 15 Phone/device
MAUI .Net 10.0 @ Android 16 Phone/device
**All devices/environments behave the same under the same build and code.**
### Expected Behavior
The folder-selection dialog opens and you can select the folder of your choice
### Steps To Reproduce
Just call "await FolderPicker.Default.PickAsync();" and it gets ignored on execution with an empty result.
### Link to public reproduction project repository
https://github.com/CommunityToolkit/Maui
### Environment
```markdown
- .NET MAUI CommunityToolkit: 15.0.1
- OS: Android 12- 16
- .NET MAUI: 10
```
### Anything else?
_No response_
Contributor guide
Research direction
Start at the FolderPicker.Default.PickAsync() entry point and compare its behavior between CommunityToolkit.Maui 15.0.1 and 15.0.0 on the Android versions listed. Reproduce the call with the reported environment and verify that the folder-selection dialog opens and returns a selected folder instead of an empty result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, csharp
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 56/100