GNOME Bugzilla – Bug 771767
GNOME Software doesn't support installation of flatpak with multiple apps
Last modified: 2018-01-24 17:16:05 UTC
GNOME Software can newly install .flatpak files, but it fails if the flatpak bundle includes multiple apps. LibreOffice flatpak is a good example, it's one file, but includes Writer, Calc, Impress, Base, Math: http://www.libreoffice.org/download/flatpak/ GNOME Software fails to handle the bundle and install the apps: 13:06:45:0025 PK notify::connected 13:06:45:0025 Gs acquired session service 13:06:45:0058 Gs autogenerating unique-id for org.libreoffice.LibreOffice.desktop 13:06:45:0059 Gs org.libreoffice.LibreOffice.desktop non-transient state now local 13:06:45:0059 Gs runtime for org.libreoffice.LibreOffice is org.gnome.Platform/x86_64/3.20 13:06:45:0059 Gs autogenerating unique-id for org.gnome.Platform.runtime 13:06:45:0060 As run 0x558ad47e6d90~AsStore:store-from-root 13:06:45:0060 As using icon path (null) 13:06:45:0061 As run 0x558ad47e6d90~AsStore:match-addons 13:06:45:0061 As Emitting ::changed() [from-root] 13:06:45:0061 Gs 5 applications found in AppStream data 13:06:45:0061 Gs failed to call gs_plugin_file_to_app on flatpak-system: application org.libreoffice.LibreOffice.desktop not found 13:06:45:0069 Gs using main window 13:06:45:0075 Gs failed to convert to GsApp: no application was created for /home/mkasik/Downloads/LibreOffice.flatpak 13:06:45:0107 Gs emitting global finished 13:06:46:0530 Gs modal dialog 0x558ad7f482f0 unmapped It also shows a very generic error message: This did not work. The file is not supported.
Some bugs fixed: commit d66e040d779af945ee59d4dcad497e1cac65e361 Author: Richard Hughes <richard@hughsie.com> Date: Wed Sep 21 19:54:43 2016 +0100 Show an in-app notification for an invalid file format Fixes half of https://bugzilla.gnome.org/show_bug.cgi?id=771767 :100644 100644 f2b380b... ad83869... M src/gs-shell.c commit 82b890963f7e6beb9893f8de122d3f6ecf8fae79 Author: Richard Hughes <richard@hughsie.com> Date: Wed Sep 21 19:51:40 2016 +0100 Show an in-app notification when a flatpak runtime cannot be found :100644 100644 9b846c3... f2b380b... M src/gs-shell.c :100644 100644 b1a8a13... 9be8fab... M src/plugins/gs-flatpak.c commit b5c3c7c839b375473396fa9c904d3b020415bb4e Author: Richard Hughes <richard@hughsie.com> Date: Wed Sep 21 19:35:53 2016 +0100 Recover the state of the app when failing to install the flatpak runtime :100644 100644 b70029d... b1a8a13... M src/plugins/gs-flatpak.c commit a58638abd4b5de523050a547845fbf01ee4be2fe Author: Richard Hughes <richard@hughsie.com> Date: Wed Sep 21 15:01:21 2016 +0100 trivial: Set some dummy data for flatpak bundles without AppStream :100644 100644 2ae5a29... b70029d... M src/plugins/gs-flatpak.c We still need to actually do something with these multi-application bundles.
Richard, what's left to be done here? On Endless, we'd like to migrate to the Libreoffice flatpak soon but we want to show separate application launchers, so this would be a blocker for adoption.
You can show separate launchers now, but we only show one thing in the software center. If we want to do something cleverer (e.g. show multiple things in the installed panel) then we're going to need some design work, as removing one will remove the others too...
I don't think it would make sense to show multiple items in the installed list, if they behave as a single entity from an installation/removal point of view. Maybe this is issue is fixed?
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-software/issues/96.