Closed pac85 closed 3 years ago
look like something wrong with Avalonia. could you repost your issue on https://github.com/AvaloniaUI/Avalonia
Seems to be related to AvaloniaUI/Avalonia#5570. Setting the Title
property of the dialog before calling ShowAsync
makes it work again on my end.
e.g. in MainWindow.xaml.cs
:
OpenFileDialog dlg = new OpenFileDialog();
dlg.Title = "Open assembly or package";
/* ... */
var filenames = await dlg.ShowAsync(this);
Seems to be related to AvaloniaUI/Avalonia#5570. Setting the
Title
property of the dialog before callingShowAsync
makes it work again on my end.e.g. in
MainWindow.xaml.cs
:OpenFileDialog dlg = new OpenFileDialog(); dlg.Title = "Open assembly or package"; /* ... */ var filenames = await dlg.ShowAsync(this);
I can confirm this fixed the issue on my laptop (Arch Linux)
The distro I'm using is Arch Linux Reverting d15808912fd80df4f57f4f72256a1083fb05ec9a fixes it for me. Log is