SUMMARY Dolphin binary is installed in two locations, possibly leading to spurious autostart behaviour STEPS TO REPRODUCE 1. Install Dolphin 2. Restart login session 3. Dolphin starts a new window separate from any that were included in the autostart list OBSERVED RESULT See only saved windows EXPECTED RESULT See saved windows plus one extra SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: 5.17.5 (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION The RPM package for Fedora 31 installs two independent copies of the Dolphin binary (i.e. two files, not a link from one to the other), one in /bin/dolphin and one in /usr/bin/dolphin. The ~/.config/ksmserverrc shows references to both of them, leading to the suspicion that this is where the extra window is coming from.
Sounds like a packaging issue. Please contact the Fedora packagers. Thanks!
(In reply to Nate Graham from comment #1) > Sounds like a packaging issue. Please contact the Fedora packagers. Thanks! That was my thought as well. However, the Fedora Bugzilla doesn't have a specific item for Dolphin, so it will have to be against KDE or Plasma. I'd welcome advice on this.
Just KDE in general
(In reply to Nate Graham from comment #3) > Just KDE in general Filed at https://bugzilla.redhat.com/show_bug.cgi?id=1808716 (against kde-filesystem for lack of an obvious alternative)
(In reply to Patrick O'Callaghan from comment #4) > (In reply to Nate Graham from comment #3) > > Just KDE in general > > Filed at https://bugzilla.redhat.com/show_bug.cgi?id=1808716 (against > kde-filesystem for lack of an obvious alternative) Reopening. Further discussion (see the Redhat BZ report) indicates that this is not a packaging issue, but seems to be caused by the session-save code thinking that the Dolphin daemon is a window to be saved in ksmserverrc. This should probably be reassigned to some Plasma component.
Adjusting summary to match observations
Some background why fedora autostarts 'dolphin --daemon' is documented in https://bugzilla.redhat.com/show_bug.cgi?id=1394927 https://bugs.freedesktop.org/show_bug.cgi?id=20099 In short, dbus activation for org.freedesktop.FileManager1 was... unreliable and sometime problematic if a system had multiple providers. So, we remove the dbus activation, and instead autostart 'dolphin --daemon' in plasma environments. Probably should have made an effort to move that upstream to kde, apologies.
I'm afraid your explanation doesn't convince me that this issue is anything other than a Fedora packaging bug. :) Autostarting `dolphin --daemon` isn't the intended upstream behavior and it's not surprising to me that the behavior is a bit buggy. Please do feel free to submit your improvement upstream. If it helps you to get rid of a local patch, that's good.
I will do so, thanks. Then we can re-open this. :)
*** Bug 419559 has been marked as a duplicate of this bug. ***
*** Bug 417219 has been marked as a duplicate of this bug. ***