Description of problem: Having xdg-desktop-portal-kde installed causes start-up issues in Gnome-Shell sessions. It's also started (while xdg-desktop-portal-wlr does not), and times out after ca. 30 seconds. However, until the timeout, many apps are prevented from starting, such as Firefox, all GTK4 apps I've tested etc. Some apps, like gnome-terminal, are not affected. Version-Release number of selected component (if applicable): 5.26.4-1 How reproducible: always Steps to Reproduce: 1. Use Fedora Workstation 2. Additionally to Gnome install KDE with xdg-desktop-portal-kde 3. logout/restart 4. log into Gnome session Actual results: 1. xdg-desktop-portal-kde is reported as getting started in the journal. 2. Many apps get blocked from starting until 30 second timeout is hit Expected results: 1. xdg-desktop-portal-kde is not started, just like xdg-desktop-portal-wlr 2. Apps are not blocked from starting Additional info: I think this behavior started a couple of month ago on Fedora 36 already, but can't pinpoint any more.
Looks like it gets blocked on some DBus call that times out. Would be good to find out what portal is causing this. Can you check DBus communication around the time when portals are initialized? Simply killing all xdg-desktop-portal* processes and starting /usr/libexec/xdg-desktop-portal should work while running dbus-monitor.
Created attachment 1951412 [details] dbus output while launching /usr/libexec/xdg-desktop-portal Hi, sorry that it took me so long!
Created attachment 1951413 [details] dbus output while launching /usr/libexec/xdg-desktop-portal Off-by-one file selection...
Do you have these installed? xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-gnome ought to be installed by default if you are using GNOME Shell (xdg-desktop-portal-gtk is not needed)
Yes, both are installed by default (and xdg-desktop-portal-gtk appears to still be needed - at least gnome-shell depends on it. AFAIK xdg-desktop-portal-gnome just extends, but not fully replaces it).
A fix in xdg-desktop-portal-kde to not stall might need https://github.com/flatpak/xdg-desktop-portal/pull/985 to let some other portal take over, but might not be crucial if it happens to be the global shortcuts portal that causes the stalls.
This message is a reminder that Fedora Linux 37 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '37'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 37 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
Fedora Linux 37 entered end-of-life (EOL) status on None. Fedora Linux 37 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field. If you are unable to reopen this bug, please file a new report against an active release. Thank you for reporting this bug and we are sorry it could not be fixed.