Bug 394129

Summary: Krita flatpak + KDE = no file open dialog
Product: [Frameworks and Libraries] flatpak-platform-plugin Reporter: Peter Eszlari <peter.eszlari>
Component: generalAssignee: Jan Grulich <jgrulich>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, jgrulich, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Peter Eszlari 2018-05-11 14:05:38 UTC
If you start the krita flatpak (org.kde.krita) from flathub and try to open the file open dialog while running KDE, nothing happens. If you do same under GNOME, the dialog pops up. If you delete /run/user/1000/flatpak-info in the sandbox, the dialog also shows up when running under KDE.

Maybe a bug in xdg-desktop-portal-kde ?
Comment 1 Peter Eszlari 2018-05-11 14:07:33 UTC
By the way: krita is the only Qt app I encountered, that shows this behavior.
Comment 2 Jan Grulich 2018-05-14 07:10:40 UTC
I think I found the problem, I'll submit the fix to Qt and backport to KDE runtime.
Comment 3 Jan Grulich 2018-05-14 10:13:23 UTC
See https://codereview.qt-project.org/#/c/229189/.
Comment 4 Jan Grulich 2018-05-15 10:40:28 UTC
Fixed in Qt and backported to KDE runtime. Once the runtime is build in Flathub, you will receive it as update.
Comment 5 Peter Eszlari 2018-05-16 19:12:20 UTC
I can confirm that this fixes it for krita 3.3 (the version on flathub at the moment). But I'm in the process of updating it to 4.0 and there it's broken again.
Comment 6 Jan Grulich 2018-05-17 05:12:53 UTC
Is it possible to try version 4.0 somewhere?
Comment 7 Peter Eszlari 2018-05-17 15:08:52 UTC
Krita 4.0 is now on Flathub.
Comment 8 Peter Eszlari 2018-06-29 00:02:35 UTC
This works in Krita 4.1.0.