Bug 408295 - After starting Elisa, first song played starts in the middle if a song was paused the last time Elisa was quit
Summary: After starting Elisa, first song played starts in the middle if a song was pa...
Status: RESOLVED FIXED
Alias: None
Product: Elisa
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords: usability
: 419331 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-06-04 14:01 UTC by Nate Graham
Modified: 2020-11-18 20:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 20.12


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2019-06-04 14:01:57 UTC
STEPS TO REPRODUCE
1. Start playing a song
2. Pause it in the middle
3. Quit Elisa
4. Open Elisa again
5. Play any song by any method


OBSERVED RESULT
The song starts playing in the middle, at the approximate playback position as the last song played before quitting Elisa.


EXPECTED RESULT
The song should start playing from the beginning.


SOFTWARE/OS VERSIONS
Everything from git master
Comment 1 Nate Graham 2019-06-04 14:02:54 UTC
See also Bug 408134.
Comment 2 Matthieu Gallien 2019-06-04 14:12:52 UTC
Thanks for your report.
Comment 3 Nate Graham 2020-11-11 19:01:24 UTC
*** Bug 419331 has been marked as a duplicate of this bug. ***
Comment 4 Matthieu Gallien 2020-11-17 15:21:16 UTC
Thanks for the detailed instructions to reproduce this.

I will work on a fix. I can easily reproduce it.
Comment 5 Bug Janitor Service 2020-11-18 13:39:14 UTC
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/elisa/-/merge_requests/190
Comment 6 Matthieu Gallien 2020-11-18 15:51:30 UTC
Git commit 30f23ab531c7bbee8b8aaec2b8311f0217bd53cc by Matthieu Gallien.
Committed on 18/11/2020 at 13:31.
Pushed by ngraham into branch 'release/20.12'.

forget the saved position withing a track when switching to another one

fix wrong initial position at startup if previous session had pause set
and was playing a different track

M  +2    -0    src/audiowrapper_libvlc.cpp

https://invent.kde.org/multimedia/elisa/commit/30f23ab531c7bbee8b8aaec2b8311f0217bd53cc