Fedora KDE Dolphin freeze

Hi, new Fedora user. Coming from Kubuntu and most everything seems running smoothly.

Running Fedora 41 KDE spin. Single user machine (administrative account disabled on install), everything kept updated. A few days ago Dolphin started to freeze up for several seconds to minutes when doing file operations like copy and cut, and sometimes even when launching (it will not display any contents like files and folders). The strange thing is that sometimes it does it and others I can have my PC running for hours with no issue. Looking at the jounald logs I get this when Dolphin becomes “unstuck”:

kf.coreaddons: Some files could not be exported.  QDBusError("org.freedesktop.DBus.Error.NoReply", "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.")

Oddly enough, this does not happen when I enable “act as administrator” in Dolphin View options.

After some extensive googling I found some old (and others recent) posts about unresolved bugs in xdg-desktop-portal. Eventually I found that the service “xdg-document-portal” was (apparently) the cause of the problem for me. Killing the process unfreezes Dolphin (with no apparent side-effects). Today Dolphin froze several times, each time I managed to fix it by killing xdg-document-portal and letting it restart.

Has anyone experienced similar issues? Is it fixable? What could be causing it? All the google posts I have seen that are vaguely related have to do with flatpaks and permission issues with /run/user/1000/doc. I don’t have flatpaks installed (though Fedora does have the whole flatpak subsystem enabled by default).

1 Like

I have been having this exact same issue for months. Why is nobody talking about this?

Sorry, forgot about this thread. Update. At least in my case I have found the issue. I use btrfs-assistant and apparently that is causing a problem with the xdg modules. I forgot the specifics, but it’s something about how the program is requesting root privileges at launch. Launching the btrfs-assistant GUI causes the xdg modules (particularly xdg-document-portal) to create a second instance, which causes the issue with Dolphin or any other application that calls for file manager functions. I can replicate this every time too, so the “solution” is either not to run btrfs-assistant or launch it and immediately kill the duplicate xdg instances.

And yes, there are a few threads about this on mailing lists and other developer forums (old and some still updated). Mostly on GNOME related boards. Supposedly it was fixed several weeks ago from both btrfs-assistant and xdg, but despite xdg and btrfs-assistant related updates on my Fedora box the issue is still there.

Not really a solution rather than a workaround. Will mark it as fixed since I can’t be bothered to troubleshoot this further and seeing as there are several instances of the underlying issue in other mailing lists and boards I doubt it will really get fixed any time soon. Probably one of those things that will be swept under the rug and eventually fixed by chance as things move forward.

1 Like

If you are also using btrfs-assistant then the problem is the same as mine. If not, check if you are using other programs that ask for root at launch, since that seems to be the main issue here.

1 Like