Bug 395038

Summary: Apps crash in File Save dialog
Product: [Frameworks and Libraries] flatpak-platform-plugin Reporter: Peter Eszlari <peter.eszlari>
Component: generalAssignee: Jan Grulich <jgrulich>
Status: RESOLVED FIXED    
Severity: critical CC: jgrulich
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Peter Eszlari 2018-06-05 04:37:02 UTC
https://github.com/mltframework/shotcut/issues/587

I have tested 3 apps so far:

* org.shotcut.Shotcut (crash when saving project or exporting)
* org.kde.kdenlive (crash when exporting)
* org.openshot.OpenShot (crash when saving project)

Might be related to:
https://cgit.kde.org/flatpak-kde-runtime.git/commit/?h=qt5.9lts&id=9870ee160e5a776ed141f9e54f466b5543f467e8
Comment 1 Peter Eszlari 2018-06-05 04:46:58 UTC
The crash happens under GNOME, not under KDE!
Comment 2 Jan Grulich 2018-06-05 06:49:15 UTC
This is a known issue and fix is already on review in Qt. We will backport it soon to KDE runtime.
Comment 3 Jan Grulich 2018-06-05 11:13:26 UTC
I backported the fix to KDE runtime, you should get an update once the build is finished.
Comment 4 Peter Eszlari 2018-06-06 04:06:34 UTC
I tested against the updated runtime and even after rebuilding the app, it still crashes.
Comment 5 Jan Grulich 2018-06-06 05:15:59 UTC
Do you use QGnomePlatform platform theme? It will be used automatically when installed.
Comment 6 Jan Grulich 2018-06-06 05:26:35 UTC
I managed to reproduce the crash. I'll try to fix it as soon as possible.
Comment 7 Peter Eszlari 2018-06-06 15:53:00 UTC
If you can't come up with a fix, it would be good to revert that commit, because basically all kde runtime based apps are useless now. This gives a very bad impression of flatpak to new users.
Comment 8 Jan Grulich 2018-06-06 16:45:35 UTC
I just pushed fix for this, I tested it and it worked. It's building now in flathub. Sorry for your troubles, it's sometimes complicated to do some portal stuff and test all possible use cases.