I have a few questions about desktop and snap integration.
First, I need this integration due to the (Gnome) file picker dependency on gdk-pixbuf, when opening the file dialog the software crashes.
(e2-sat-editor:60006): Gtk-WARNING **: 14:00:33.759: Could not load a pixbuf from /org/gtk/libgtk/icons/16x16/status/image-missing.png. This may indicate that pixbuf loaders or the mime database could not be found. **
extensions: [gnome] and it works as expected.
But the build time with snapcraft increases from ~15 minutes to over ~30 minutes. The log increases in size.
It also adds a dependency to the
I don’t remember if Kubuntu uses the KDE or Gnome file picker. But if I want to support both Gnome and KDE, or whatever, in the same snapcraft.yaml, without making the build process too big?
In my opinion
extensions: [gnome] is heavy, I tried to depend on
gtk-common-themes this way, without success:
parts: e2-sat-editor: ... stage-snaps: [gtk-common-themes] plugs: gtk-3-themes: interface: content target: $SNAP/share/themes default-provider: gtk-common-themes icon-themes: interface: content target: $SNAP/share/icons default-provider: gtk-common-themes sound-themes: interface: content target: $SNAP/share/sounds default-provider: gtk-common-themes
So, my software requires Qt6, but I need the file picker. No matter what DE you are using.
In my test system I installed
xdg-desktop-portal-gtk, it seems not enough or not recognized in snap context, this for opening file picker.
I don’t want to remove the desktop file picker and put the Qt one instead.
Is there a smart way to get desktop integration?