One peculiar problem. From time to time, when I try to upload a file using Firefox, the chooser refuses to open. Checking the logs, I see a message:
Can’t open portal file chooser: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.FileChooser” on object at path /org/freedesktop/portal/desktop
Logging out then back in seems to fix the problem, but I can’t work out what’s actually causing it.
local/xdg-desktop-portal 1.18.0-2
Desktop integration portals for sandboxed apps
local/xdg-desktop-portal-kde 5.27.8-3 (plasma)
A backend implementation for xdg-desktop-portal using Qt/KF5
And uname -r returns:
6.6.0-1-MANJARO
All of which seems correct.
Digging deeper into the logs, I can see that for the second time I logged in this morning, there are some apparently significant messages:
Oct 11 10:08:00 antwerp dbus-daemon[1227]: [session uid=1000 pid=1227] Activating via systemd: service name=‘org.freedesktop.impl.portal.desktop.kde’ unit=‘plasma-xdg-desktop-portal-kde.service’ requested by ‘:1.11302’ (uid=1000 pid=766662 comm=“/usr/lib/xdg-desktop-portal”)
and
Oct 11 10:08:00 antwerp systemd[805]: Started Xdg Desktop Portal For KDE.
Which seems to suggest that for some reason /usr/lib/systemd/user/plasma-xdg-desktop-portal-kde.service wasn’t triggered. My next obvious check will be to manually run that service next time the problem occurs and see if (as I suspect) it fixes the problem. At least in that case I’ll have a workaround.
From Unstable…
There was a point some weeks or so past that there seemed to be some instances of xdg-desktop-portal either failing or failing to start … restarting the service would fix it, and it hasnt been continued to be noticed recently (after some updates).
systemctl --user status xdg-desktop-portal
systemctl --user status plasma-xdg-desktop-portal-kde
systemctl --user restart xdg-desktop-portal
systemctl --user restart plasma-xdg-desktop-portal-kde