Thank you guys for building this and I would like to congratulate you for the progress you have done. Keep it up... 👏️
After changing the content of the canvas, clicking save(ctrl+s), or save as (shift+ctrl+s), it should save the project to the file that is already opened or it should popup a save dialog if it is a new project or clicked save as.
Noting happens but the console bleeds with some warnings about portal file chooser.
akira, the app should openctrl + s / shift + ctrl + sI don't know if this is happening with the ninja build, but since it has been recently made into master i think it is only the snap that have this issue.
(Akira:10700): GLib-GIO-WARNING **: 17:44:25.757: Error creating IO channel for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2)
(Akira:10700): Gtk-WARNING **: 17:44:25.837: Can't open portal file chooser: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.1113" (uid=1000 pid=10700 comm="/snap/akira/91/usr/bin/com.github.akiraux.akira " label="snap.akira.akira (enforce)") interface="org.freedesktop.portal.FileChooser" member="SaveFile" error name="(unset)" requested_reply="0" destination="org.freedesktop.portal.Desktop" (bus)
(Akira:10700): GLib-GIO-WARNING **: 17:44:31.048: Error creating IO channel for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2)
(Akira:10700): Gtk-WARNING **: 17:44:31.107: Can't open portal file chooser: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.1113" (uid=1000 pid=10700 comm="/snap/akira/91/usr/bin/com.github.akiraux.akira " label="snap.akira.akira (enforce)") interface="org.freedesktop.portal.FileChooser" member="SaveFile" error name="(unset)" requested_reply="0" destination="org.freedesktop.portal.Desktop" (bus)
(Akira:10700): Gtk-CRITICAL **: 17:44:34.205: gtk_main_quit: assertion 'main_loops != NULL' failed

Ah, probably some permissions or "portals" (that's what they're called in a flatpak) are missing.
I'm gonna ping @popey for this, hopefully he can figure it out.
If I'm not wrong, the snap implementation was done before the load/save file feature landed, so probably something is missing.
Thanks for reporting the issue.
I'm running the same version of Akira here on Ubuntu 20.04 and both Save and Save As do exactly as you'd expect, pop up a file picker dialog. I will do some investigation this evening on an elementary laptop I have and get back to you.
Started a conversation on the snapcraft forum to understand the issue better. https://forum.snapcraft.io/t/inconsistent-behaviour-in-gtk-file-open-dialogs/16638
This worked for me on my Arch setup, I can save and load files successfully, let me know if I can offer any further information for you.
So from what I understood, this is a snap specific issue that was already fixed in snapd per https://github.com/snapcore/snapd/pull/8793
we can safely close this one.
Most helpful comment
Thanks for reporting the issue.
I'm running the same version of Akira here on Ubuntu 20.04 and both Save and Save As do exactly as you'd expect, pop up a file picker dialog. I will do some investigation this evening on an elementary laptop I have and get back to you.