Bug 408341 - Krita 4.2 freezes when opening file dialogs
Summary: Krita 4.2 freezes when opening file dialogs
Status: RESOLVED FIXED
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-05 12:29 UTC by Peter Eszlari
Modified: 2019-07-16 14:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?!