Bug 1194237

Summary: flatpak cannot open links anymore
Product: [openSUSE] PUBLIC SUSE Linux Enterprise Desktop 15 SP4 Reporter: Lubos Kocman <lubos.kocman>
Component: GNOMEAssignee: Gustavo Yokoyama Ribeiro <gyribeiro>
Status: RESOLVED FIXED QA Contact:
Severity: Normal    
Priority: P2 - High CC: felix.niederwanger, gnome-bugs, lubos.kocman, martin.wilck, sweiberg, yfjiang
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on: 1191362    
Bug Blocks:    

Description Lubos Kocman 2022-01-03 12:56:46 UTC
Same issue happens Leap 15.4 respective SLES 15 SP4 where Leap inherits xdg-desktop-portal-gtk from.

This issue seems to be fixed in xdg-desktop-portal-gnome which is missing in SP4. Hopefully will be implemented in jsc#SLE-21332 

+++ This bug was initially created as a clone of Bug #1191362 +++

Since Monday flatpak Slack is not able to open links anymore. When clicking on a link, the following error message appears in the logs

> Failed to call portal: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface ?org.freedesktop.portal.OpenURI? on object at path /org/freedesktop/portal/desktop
Gkr-Message: 09:20:58.685: secret service operation failed: org.freedesktop.DBus.Error.ServiceUnknown

Also flatpak Teams does not respond to clicking on links, so this might indicate a flatpak issue.

Flatpak 1.11.3, tested within Cinnamon and the GNOME desktop. Opening links was broken in both.
Comment 1 Yifan Jiang 2022-01-04 03:20:07 UTC
To resolve this, IMHO, there are 3 things needed to do:

1. Bring the relatively new pacakge  xdg-desktop-portal-gnome to SLE and Leap
2. Make sure xdg-desktop-portal-gnome can be properly pulled by rpm/zypper
3. Add  xdg-desktop-portal-gnome to install media (000-pacakge-groups)

For 1: I just submitted the good version to GA at https://build.suse.de/request/show/261428

For 2: It is already done by the package itself by Supplements gnome-shell and flatpak

For 3: We need help from release engineering to review and fix
Comment 2 Yifan Jiang 2022-01-04 03:23:39 UTC
Hi Gustavo,

Regarding to the point 3 above, could you please help to have a review if we can smoothly add the new package xdg-desktop-portal-gnome to SP4GA (in the same level of xdg-desktop-portal and xdg-desktop-portal-gtk as they are equally needed by flatpak). Thank you very much.
Comment 6 Gustavo Yokoyama Ribeiro 2022-03-21 23:13:12 UTC
Fix available on Beta3-202201.