SUMMARY A daughter process of VLC started by "open with VLC" from Dolphin context menu is closed upon closing Dolphin rather than being promoted to a daughter process of the init daemon. At the moment, this behavior is observed only with Dolphin and VLC, which suggests some specific interaction between Dolphin and VLC. STEPS TO REPRODUCE 1. Open Dolphin and select audio/video file. 2. Open audio/ video file with VLC from "open with" context menu. 3. Closing Dolphin, closes the daughter VLC process. OBSERVED RESULT VLC is terminated. EXPECTED RESULT VLC remains running. SOFTWARE/OS VERSIONS Linux/KDE Plasma: kernel 5.9.1, Archlinux KDE Plasma Version: 5.20 KDE Frameworks Version: 5.75.0 Qt Version: 5.15.1 Dolphin: 20.08.2 VLC: 3.0.11.1 ADDITIONAL INFORMATION none
This is fixed in Dolphin 20.12. The problem was that it was opening the external app as a direct child process, rather than letting the system launcher do it--which makes the child app survive the parent app being closed.
Still have the same issue with dolphin 20.12.0. Again, it is only specific to VLC: every other process is promoted to a child of init, VLC gets closed off.
Still cannot reproduce. Can you attach a screen recording that shows the issue? Is your system set up in any kind of unusual or non-default manner?
Created attachment 134013 [details] VLC is not promoted to child of init upon launching from dolphin.
Despite the artifacting, which is not connected to the issue, I think https://bugs.kde.org/attachment.cgi?id=134013 attachment clearly shows what I mean.
What init system are you using? not systemd, I gather?
(In reply to Nate Graham from comment #6) > What init system are you using? not systemd, I gather? It is systemd (systemd 247 (247.1-3-arch)). Everything is default archlinux. At any rate, it is not a critical issue for me. If you come up with a way to debug it though, let me know.
How odd.This is almost certainly not an issue in Dolphin itself. Probably in either KIO (for ApplicationLauncherJob) or something else. Moving to KIO for now.
I have narrowed this down to the exact setting which causes the issue, and it's a setting in VLC. I don't know if the bug is specifically with vlc, or with how VLC talks with dolphin. The video file is irrelevant; it happens when the "Qt Interface" is enabled in VLC. Precise steps to reproduce, done on a 100% clean new user I created for this purpose. Dolphin version: 22.04 VLC Version: 3.0.17.4 KIO(if it's related): 5.93.0 KIO-extras 22.04 STEPS TO REPRODUCE 1. Open VLC 2. Within VLC, navigate Tools > Preferences > Show Settings, and switch the radio button from "Simple" to "All" 3. Scroll to the "Interface" section, and select "Main Interfaces" 4. Tick the checkmark for "Qt Interface", then save settings. 5. Close VLC entirely. 6. Open Dolphin, navigate to a video file, then right click it, and Open With > VLC Media Player. 7. Close Dolphin Result: Both VLC and Dolphin close. I was going to report this for VLC as well, but after testing both via the nightly snap package, and compiling the latest git version myself, I could not reproduce the error on VLC 4.0....which is targeted to release by the end of 2022. SO. for now, for anyone else who comes across this, just disable the qt interface.
Can confirm this bug, and that it only happens when VLCs "QT Interface" option is enabled. Not sure if this is a dolphin or vlc bug tho.