Closed gadfly3173 closed 3 weeks ago
Without builder.UseManagedSystemDialogs();
, I would get debug output like this:
[FreeDesktopPlatform] OnCommitString failed: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Tmds.DBus.Protocol.DBusConnection+Observer'. (FcitxX11TextInputMethod #33781949)
With builder.With(new X11PlatformOptions { UseDBusFilePicker = false })
, the deepin-file-manager would be opened correctly
According to https://github.com/AvaloniaUI/Avalonia/issues/9383#issuecomment-1378350456, AvaloniaUI will use native picker when turn off UseDBusFilePicker
, which seems to be even less stable.
I would like to revert commit 67c771d7d99a54845131816d753ad9ddccec608d.
It seems that Avalonia does not support deepin-file-manager or need some other configuration.
The file picker with
builder.UseManagedSystemDialogs();