https://bugs.kde.org/show_bug.cgi?id=477684
Bug ID: 477684 Summary: dolphin --daemon Crashes Peacefully After Opening First Window Through DBus Classification: Applications Product: dolphin Version: 23.08.3 Platform: Fedora RPMs OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: general Assignee: dolphin-bugs-n...@kde.org Reporter: johnhaoallw...@gmail.com CC: kfm-de...@kde.org Target Milestone: --- SUMMARY Dolphin does not spawn a window when called with DBus using FileManager1 (through Firefox or directly) without an active process, and the process crashes peacefully when interacting with it through DBus after opening its first window. (I may not be using the right term of crash as the exit may be intentional, but the exit incorrectly interferes with using Dolphin from DBus) I cannot upload the backtrace: I am unfamiliar with gdb and when following the guide, backtrace.txt is empty due to the crashing process crashing peacefully. STEPS TO REPRODUCE 1. Override /usr/share/dbus-1/services/org.freedesktop.FileManager1.service in .local ~/.local/share/dbus-1/services/org.freedesktop.FileManager1.service: ``` [D-BUS Service] Name=org.freedesktop.FileManager1 Exec=/usr/bin/dolphin --daemon SystemdService=plasma-dolphin.service ``` 2. Use Firefox's "open in folder" for Downloads OBSERVED RESULT Dolphin window does not appear, except for the first time after a reboot. EXPECTED RESULT Dolphin window appears. SOFTWARE/OS VERSIONS Linux: Fedora 39 Sericea, SwayWM (not KDE Plasma) Qt Version: 5.15.11 / 6.6.0 ADDITIONAL INFORMATION Upon spamming the open in folder button at a rapid pace, the dolphin window appears. Firefox appears to be using DBus for "open in folder". Using d-feet, I interacted with the org.freedesktop.FileManager1, which shows it spawns a dolphin process. Using its ShowFolders interface removes the dolphin process and shows nothing. Running dolphin --daemon in a terminal connects it to the FileManager1 DBus and allows Firefox to open a folder once, but after opening this folder, dolphin --daemon peacefully exits. The peaceful exit after opening folder also happens when using FileManager1 DBus directly through d-feet, and using org.kde.dolphin-pid through d-feet. It does not happen when running dolphin --new-window from another command line. -- You are receiving this mail because: You are watching all bug changes.