Bug 505198

Summary: Elisa automatically starts playing files dropped onto the playlist, even if something else is already playing
Product: [Applications] Elisa Reporter: Daniel Schulte <trilader+kdebugs>
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 25.03.80   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Daniel Schulte 2025-06-04 09:00:31 UTC
SUMMARY
I quite often manage my current playlist by dragging files from Dolphin directly onto the playlist in Elisa.

As a fix for #423007 the behavior was change so Elisa immediately starts playing the (first of the) track(s) dragged onto the playlist even if something is currently playing.

When I revert https://invent.kde.org/multimedia/elisa/-/commit/542524345878cc7cd6e30a5e38a0a4e56f8d8b80 I get the old behavior back.

I'm okay with Elisa playing the track/switching to it if I were to open it (double click on it in Dolphin in my case)  directly, but really dislike that it also does so when dragging onto the playlist.

STEPS TO REPRODUCE
1. Open Elisa
2. Play something, e.g. your favorite album. After a while you decide what you want played next. Maybe it's a compilation with somewhat wrong tags so there is no convenient way to get it from the Artist/Track/Album views. 
3. Drag another album, or even a single track from your file manager onto the playlist.

OBSERVED RESULT
Elisa stops playing the current track and immediately starts playing whatever I dragged onto the playlist.

EXPECTED RESULT
Elisa to continue playing the current file.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.14.2-arch1-1

ADDITIONAL INFORMATION
I reported this as first happening in 25.03.08 as that's the oldest branch that has the commit. Also happens on all later releases as well as current git master (0fa2805b8 as of this report).