Bug 408341

Summary: Krita 4.2 freezes when opening file dialogs
Product: [Plasma] xdg-desktop-portal-kde Reporter: Peter Eszlari <peter.eszlari>
Component: generalAssignee: Jan Grulich <jgrulich>
Status: RESOLVED FIXED    
Severity: normal CC: jgrulich
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Peter Eszlari 2019-06-05 12:29:43 UTC
https://github.com/flathub/org.kde.krita/pull/15

1. Install the test build from the PR:

flatpak install --user https://dl.flathub.org/build-repo/4076/org.kde.krita.flatpakref

2. Try to open a file. Notice how the app freezes.

This works under GNOME with xdg-desktop-portal-gtk.
Comment 1 Jan Grulich 2019-06-05 13:02:44 UTC
I'm not sure this is our fault, because:
1) It works with older version of Krita (tried 4.1.8 from Flathub now)
2) It doesn't work for me even with xdg-desktop-portal-gtk
Comment 2 Peter Eszlari 2019-06-05 13:59:35 UTC
I tested it under Ubuntu 19.04 (GNOME) with

- flatpak 1.2.4
- xdg-desktop-portal 1.2.0
- xdg-desktop-portal-gtk 1.2.0

and there it definitely works.
Comment 3 Jan Grulich 2019-06-06 06:40:09 UTC
This does work under Gnome because Krita doesn't use native file dialogs there, which means no portal is involved. I tested it with xdg-desktop-portal-gtk running under KDE and there the result was same, which means the issue is in Krita or in Qt's portal support. I will try to investigate this further.
Comment 4 Peter Eszlari 2019-07-16 14:59:38 UTC
After updating Krita to 4.2.3, this bug seems to be gone.

Maybe something in the runtime was fixed?!