SUMMARY I don't know whether the issue is with KDE or VLC, but VLC doesn't close properly if it was launched from dolphin after something in the session had previously activated the media player widget. STEPS TO REPRODUCE 1. Put some media player widget in some KDE panel (the ones that have a big play/stop button). 2. Launch JuK or some other music player. Optionally play something with it and then stop it. 3. Launch dolphin. 4. From dolphin, click on some video file to open it with VLC. 5. Close the VLC window through the 'X' icon. OBSERVED RESULT VLC should close. EXPECTED RESULT The VLC window closes, but the underlying process remains active and prevents from further launching VLC windows from dolphin (i.e. if I click some other video file from dolphin, it won't launch a VLC window until I manually kill the VLC process). Launching VLC directly from the command line doesn't produce any problems with either terminating the process after clicking the 'X', or launching while another VLC process is active. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.20.5 KDE Frameworks Version: 5.78.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION
Small correction: when launched from the command line, it will also present the same issue if using argument '--started-from-file'. I.e. vlc my_file.mkv <- runs fine vlc --started-from-file my_file.mkv <- doesn't close properly
Please can report to VLC. I haven't heard anything that implies it's Plasma's fault. If they say send you back here, please link the upstream report.
(In reply to David Edmundson from comment #2) > Please can report to VLC. I haven't heard anything that implies it's > Plasma's fault. > > If they say send you back here, please link the upstream report. Thing is, it only happens in KDE, and only when there's a media player widget.
Turns out in the end it's a bug with mesa, not KDE or QT: https://gitlab.freedesktop.org/mesa/mesa/-/issues/116