Bug 480573

Summary: Elisa always switches back to outputting to the audio output used when Elisa is initially launched when changing tracks.
Product: [Applications] Elisa Reporter: Ali <radicalite>
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: CONFIRMED ---    
Severity: normal CC: batmansgehilfe, robby.engelmann, timaeos
Priority: NOR Keywords: qt6
Version: 24.08.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Audio Volume Plasmoid when this bug occurs (excuse the Dualshock 4, I'm using it to pass audio through USB)
F39 QT6.6.0 Build of Elisa Switches Audio Output back to previous output

Description Ali 2024-01-30 23:35:58 UTC
Created attachment 165382 [details]
Audio Volume Plasmoid when this bug occurs (excuse the Dualshock 4, I'm using it to pass audio through USB)

SUMMARY
When there is more than one audio output, switching to a different one via the Audio Volume Plasmoid mid playback will output current playback to the selected audio output as expected, but when the next track plays/current track changes, Elisa only outputs to the audio output that was in use when Elisa was opened/before the audio output was switched.

STEPS TO REPRODUCE
1. Connect two audio outputs and select one via the Audio Volume Plasmoid
2. Open Elisa and play a track
3. Switch audio output mid playback
4. Change the currently playing track

OBSERVED RESULT
After the currently playing track changes, Elisa only outputs to the audio output that was in use when Elisa was launched.

EXPECTED RESULT
Elisa keeps playing audio to the currently selected audio output.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 40 KDE Plasma (Rawhide)
(available in About System)
KDE Plasma Version: 5.92.0 (Plasma 6.0 RC1)
KDE Frameworks Version: 5.248.0
Qt Version: 6.6.1

ADDITIONAL INFORMATION
This can also be visually seen in the Audio Volume Plasmoid, where you can see sound being output to an audio device that isn't selected.
Comment 1 Timothy Arnold 2024-02-02 16:45:08 UTC
Created attachment 165477 [details]
F39 QT6.6.0 Build of Elisa Switches Audio Output back to previous output

I'm able to replicate this bug on a QT6 master build of Elisa (24.04.70) on Fedora 39 using the procedure above

Using KDE Frameworks 6.0.0
Built against QT 6.6.0

It not only switches output during the switching of tracks but also when seeking on the current track. Attached screenshots shows audio playing on the previously selected output but not on the currently selected output
Comment 2 Daniel Hurtado 2024-04-11 13:52:31 UTC
I'm experiencing the same issue here on openSUSE Tumbleweed

Elisa: 24.02.01
QT: 6.6.3
KDE Plasma: 6.0.3
KDE Framerworks: 6.0.0
Comment 3 Robby Engelmann 2024-09-27 17:29:33 UTC
The same is true here using recent master git snapshot builds:
Operating System: openSUSE Tumbleweed 20240926
KDE Plasma Version: 6.1.90
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Kernel Version: 6.11.0-1-default (64-bit)
Graphics Platform: Wayland
Processors: 20 × 13th Gen Intel® Core™ i7-13700H
Memory: 62.5 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: TUXEDO
Product Name: TUXEDO InfinityBook Pro Gen8 (MK1)