[dolphin] [Bug 417219] Daemonized Dolphin inappropriately triggers session restoration

Rex Dieter bugzilla_noreply at kde.org
Wed Oct 21 18:57:23 BST 2020


https://bugs.kde.org/show_bug.cgi?id=417219

--- Comment #36 from Rex Dieter <rdieter at gmail.com> ---
I'll re-iterate the background I outlined in comment #24 and comment #25,

See dolphin's org.kde.dolphin.FileManager1.service file installed for dbus
activation, contains:
Name=org.freedesktop.FileManager1

It is possible for there to be multiple providers for
org.freedesktop.FileManager1 (e.g. dolphin and nautlus).  If you'd reviewed the
old bugs I referenced, what happened was that dolphin was getting
dbus-activated under gnome, for example, instead of nautilus.  DBus activation
has no way to prefer one provider over another.  There's a very old bug open
with dbus upstream about that, I've doubts it'll ever get addressed.

So, in fedora we did 2 things:
1.  omitted the dbus service file from packaging, to ensure it never gets
dbus-activated (esp on non-plasma desktops)
2.  set dolphin to autostart (in daemon mode), which allows dolphin to listen
on those dbus interfaces at runtime

Yes, it kinda sucks that another executable is running under plasma (dolphin
--daemon) that may never get used, but the alternative is arguably worse...
unexpectedly seeing nautilus running under plasma or dolphin running under
gnome responding to org.freedesktop.FileManager1 dbus calls.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list