Created attachment 132148 [details] dbus-monitor --session https://github.com/flathub/org.kde.krita/pull/26 flatpak install --user https://dl.flathub.org/build-repo/28379/org.kde.krita.flatpakref quote from Dmitry Kazakov: "2. [blocking] For some reason Krita has Preferences->Global->Miscellaneous->"Enable native file dialogs" enabled by default. It makes File->Open menu action do nothing. Even though in normal Krita build this option is disabled by this code: if (qgetenv("XDG_CURRENT_DESKTOP") == "KDE") { dontUseNative = false; } NOTE: in the previous builds this option has also bee enabled, but KDE's file dialogs worked fine. Now they don't."
There is an empty filter: >struct { > string "j2k " > array [ > ] >} Which is being rejected by xdg-desktop-portal: >error time=1601994515.731923 sender=:1.45 -> destination=:1.72 >error_name=org.freedesktop.portal.Error.InvalidArgument reply_serial=13 > string "invalid filter: no filters" Can you check whether this filter is empty on Krita side?
Created attachment 132150 [details] krita non-native file dialog
Hmm, possibly this: https://github.com/qt/qtbase/commit/d55165b9c472a30958ef392cb52234041159279e But it should already be in Qt 5.12.
And I can reproduce it even with Qt 5.15.
Looks like a Krita fault: (gdb) p nameFilter $17 = "j2k ( )" So we indeed get an empty filter, but in Qt we should probably just ignore those to avoid this failure.
Qt fix: https://codereview.qt-project.org/c/qt/qtbase/+/316508
Closing as this is a Qt issue / Krita issue and actually flatpak-platform-plugin is no longer a thing.