Bug 507617

Summary: When a track is marked as favorite during playback that track restarts
Product: [Applications] Elisa Reporter: Lane Starritt <starrittlane>
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: REPORTED ---    
Severity: minor    
Priority: NOR    
Version First Reported In: 25.04.3   
Target Milestone: ---   
Platform: CachyOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Lane Starritt 2025-07-28 23:30:31 UTC
SUMMARY
When a track is marked as favorite during playback of that same track, the track restarts only the first time it is marked as favorite.

STEPS TO REPRODUCE
1. Set Song rating style to Favorite/not favorite in the Configure window and save
2. Begin playing a song which is not marked as favorite
4. Press the "Mark this song as favorite" button wherever it may appear (Now Playing, Album, Playlist Bar...)
5. Hear your song or podcast or whatever restart only the first time you click the favorite button

OBSERVED RESULT
The track restarts playback from 0:00:00 if and only if the track was not marked as favorite before playback began

EXPECTED RESULT
Playback is not interrupted or restarted when first marking a track as favorite during playback

SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux 
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.15.8-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 32 GiB of RAM (31.3 GiB usable)
Graphics Processor: AMD Radeon RX 6800 XT
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X570 AORUS ELITE
System Version: -CF

ADDITIONAL INFORMATION
This behavior only occurs if the track is not marked as favorite before playback begins.  If the track is marked as favorite before playback begins or the track has already restarted from marking as favorite you can toggle favorite as much as you want and playback will not restart.