[Bug 1118040] New: GNOME Software happily allows user to install Flatpak apps although they cannot be launched because of missing flatpak dependency
http://bugzilla.opensuse.org/show_bug.cgi?id=1118040 Bug ID: 1118040 Summary: GNOME Software happily allows user to install Flatpak apps although they cannot be launched because of missing flatpak dependency Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Linux Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: bnc-team-gnome@forge.provo.novell.com Reporter: janousek.jiri@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- During testing the state of Flatpak support in OpenSUSE, I've found a few issues. This is one of them: GNOME Software allows me to add Flatpak repositories and install any Flatpak application. At this point, I'd expect that I can also launch and use the installed applications. However, that's not possible because the required flatpak package is not installed. Steps to reproduce: 1. Perform a clean installation of OpenSUSE Tumbleweed (2018-11-30 image) with GNOME desktop. 2. Download Flathub repo file and install it with GNOME Software: https://dl.flathub.org/repo/flathub.flatpakrepo 3. Refresh package database in GNOME software. 4. Search for and install any Flatpak application, e.g. Nostalgia. 5. Click the Launch button to launch the Flatpak application. 6. Search the app in Activities screen and launch it from there. Expected result: Re 5. The application is launched. Re 6. The application is found in Activities screen and can be launched, Actual result: Re 5. The application is not launched nor any error is shown. No clue what's wrong. Re 6. The application is not found in Activities screen/list of applications. The cause: The application is not launched because the flatpak package is not installed. Solution: Add flatpak dependency to gnome-software package. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1118040
http://bugzilla.opensuse.org/show_bug.cgi?id=1118040#c1
--- Comment #1 from Jiri Janousek
http://bugzilla.opensuse.org/show_bug.cgi?id=1118040
http://bugzilla.opensuse.org/show_bug.cgi?id=1118040#c2
Richard Brown
sudo zypper install flatpak
This is the same documentation that is reached if you click on "Quick Setup" when visiting https://flathub.org/home. Therefore I do not believe this issue a bug, as documented procedures by both upstream flatpak and flathub clearly haven't been followed -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1118040
http://bugzilla.opensuse.org/show_bug.cgi?id=1118040#c3
--- Comment #3 from Jiri Janousek
Therefore I do not believe this issue a bug, as documented procedures by both upstream flatpak and flathub clearly haven't been followed
The upstream quick setup page simply works around a packaging bug in OpenSUSE. This is how quick setup should ultimately work in all distributions with GNOME Software/KDE Discover: https://flatpak.org/setup/Fedora/ Click to repo link, open it with GNOME Software/KDE Discover, install an app and launch it without any need to install additional dependencies manually via a command-line. OpenSUSE GNOME Workstation is very close, the only missing step is to add flatpak dependency to gnome-software. Also, compare with OpenSUSE KDE Plasma Workstation: I can add Flathub repo with KDE Discover, install a Flatpak app and launch it without any problems out of the box. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1118040
http://bugzilla.opensuse.org/show_bug.cgi?id=1118040#c4
--- Comment #4 from Richard Brown
Therefore I do not believe this issue a bug, as documented procedures by both upstream flatpak and flathub clearly haven't been followed
The upstream quick setup page simply works around a packaging bug in OpenSUSE.
This is how quick setup should ultimately work in all distributions with GNOME Software/KDE Discover: https://flatpak.org/setup/Fedora/
openSUSE only ships software which openSUSE itself has vetted, audited, and assured will work on openSUSE. Flathub is comparatively unvetted, unaudited, and there is no assurance that any of their software will work on openSUSE I strongly disagree with any suggestion we should do anything like what Fedora do in this area
Click to repo link, open it with GNOME Software/KDE Discover, install an app and launch it without any need to install additional dependencies manually via a command-line.
OpenSUSE GNOME Workstation is very close, the only missing step is to add flatpak dependency to gnome-software.
Also, compare with OpenSUSE KDE Plasma Workstation: I can add Flathub repo with KDE Discover, install a Flatpak app and launch it without any problems out of the box.
I haven't closed this bug because I wish to give other GNOME maintainers a chance to give their view. I have made mine clear and your arguments above do not sway it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1118040
http://bugzilla.opensuse.org/show_bug.cgi?id=1118040#c5
--- Comment #5 from Jiri Janousek
openSUSE only ships software which openSUSE itself has vetted, audited, and assured will work on openSUSE.
Flathub is comparatively unvetted, unaudited, and there is no assurance that any of their software will work on openSUSE
I strongly disagree with any suggestion we should do anything like what Fedora do in this area.
There is a misunderstanding. I've never asked to add/support Flathub repo in OpenSUSE. Neither Fedora includes Flathub repo out of the box and it never will for the same reasons as OpenSUSE. I merely pointed to the broken user experience of flatpakrepo files in OpenSUSE and gave an example of how it is supposed to work - entirely with GUI tools (KDE Discover/GNOME Software) without installing any missing dependencies via a command line. This workflow works also in Debian/Ubuntu (gnome-software-plugin-flatpak depends on flatpak) or Arch Linux (gnome-software depends on flatpak).
I haven't closed this bug because I wish to give other GNOME maintainers a chance to give their view. I have made mine clear and your arguments above do not sway it.
I just think it doesn't make sense that I can add flatpakrepo with GNOME Software, install a flatpak app with GNOME software, but I cannot launch it unless I open a terminal and install flatpak from the command-line. But let's agree to disagree. Thank you for keeping this ticket open for other opinions. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1118040
http://bugzilla.opensuse.org/show_bug.cgi?id=1118040#c6
Bjørn Lie
participants (1)
-
bugzilla_noreply@novell.com