Avalonia
Avalonia copied to clipboard
DBus OpenFolderPickerAsync returns an empty list on Ubuntu
Describe the bug
Calling OpenFolderPickerAsync
returns an empty list on Ubuntu. Works fine on Windows.
To Reproduce Steps to reproduce the behavior:
var paths = await window.StorageProvider.OpenFolderPickerAsync(new FolderPickerOpenOptions() {
Title = "Select folder"
});
Console.WriteLine(paths.Count.ToString());
Expected behavior 1, but I got 0 instead.
Screenshots
Desktop (please complete the following information):
- OS: Ubuntu 20.04.5 LTS
- Version: 11.0.0-preview4
Additional context I've also noticed I cannot select an empty folder. I have to select a file within a folder, otherwise the "open" button is disabled.