Bug 484060

Summary: The Flatpak version of Krita 5.2.2 crashes when I try to use the "Save as" option
Product: [Applications] krita Reporter: Eduardo Medina <edu.rm.85>
Component: * UnknownAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash CC: edu.rm.85, info, steffen.duenner
Priority: NOR    
Version First Reported In: 5.2.2   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Bug when I try to save a file in Krita 5.2.2

Description Eduardo Medina 2024-03-20 12:17:28 UTC
Created attachment 167501 [details]
Bug when I try to save a file in Krita 5.2.2

SUMMARY
Hi, I saw that some Flatpak runtimes were updated yesterday and since then Krita 5.2.2 crashes when I try to use the "Save as" option. Even the "Save" option crashes the application if I try to save from a blank project.

I use Fedora Silverblue 39 with GNOME 45.5 and the Wayland session. I didn't see the same behaviour in other KDE apps like Kdenlive and Okular, so it seems specify of Krita.

I don't know what runtimes are used for Krita Flatpak. If you give me more instructions I can follow them. I share what I get booting the app from the terminal.

STEPS TO REPRODUCE
1. Open Krita 5.2.2 Flatpak.
2. Use the "Save as" option or try to "Save" from a new project.
3. You see that the app crashes.
Comment 1 David REVOY 2024-03-20 12:42:48 UTC
Hi,
Maybe try if you can reproduce it with the official appimage from krita.org on a X11 session, because:
- Krita doesn't officially support Wayland session yet.
- Krita Flatpak is not maintained by Krita developers, but the community (src: https://flathub.org/apps/org.kde.krita ), so if it is Flatpak specific please report the bug to the dev who built it ( https://github.com/flathub/org.kde.krita ? )
Comment 2 Steffen Dünner 2024-03-20 14:56:58 UTC
I'm getting the same error message as the original poster on Linux Mint 21.3 but running an X session, not Wayland.

"(krita:2): GLib-GIO-ERROR **: 13:01:00.920: No GSettings schemas are installed on the system"

Krita crashes with this message every time it tries to open a file dialogue (File > Open, File > Save As, Layer > Import > Import Layer, ...)

Dragging and dropping images on the GUI to add layers or images works as expected, though.
Comment 3 David REVOY 2024-03-20 15:57:12 UTC
@Steffen Dünner : Can you reproduce with the appimage provided on Krita.org ? https://krita.org/en/download/ 
It's the only package supported officially on GNU/Linux.
Comment 4 Steffen Dünner 2024-03-20 16:03:08 UTC
Thanks for your reply.

Everything works as expected with the official Appimage.
Comment 5 David REVOY 2024-03-20 16:12:56 UTC
So it's very likely to be a Flatpak building or packaging issue. Please report here: https://github.com/flathub/org.kde.krita  , I hope the community who maintain it will fix it. I'm turning the report in resolved/not a bug, because this bug doesn't depend on Krita. Feel free to link this thread to the Github issue.

(Note: I would personally love a Flatpak high quality package. )
Comment 6 Steffen Dünner 2024-03-20 16:20:27 UTC
Thanks a lot!