Skip to content

Shuffle causes newly selected tracks to inherit the previous track's playback position #468

Description

@NachoOsella

Describe the bug
When shuffle is enabled, manually selecting a different track causes the new track to start at approximately the same playback position as the previous track instead of starting from 0:00.

For example, if the current track is at 2:08 and I select another track, the new track starts around 2:08 as well.

This does not happen when shuffle is disabled.

To Reproduce
Steps to reproduce the behavior:

  1. Start playing any track.
  2. Enable shuffle.
  3. Let the track play for a while, or seek to a noticeable position such as 2:00.
  4. Manually select another track from the song list.
  5. Observe that the newly selected track starts around the previous track's playback position instead of 0:00.

Expected behavior
Manually selecting a different track should always start that track from 0:00, regardless of whether shuffle is enabled.

Desktop:

  • OS: Arch Linux
  • Terminal: kitty
  • Version: 0.41.0

Additional context

  • The issue affects the actual audio playback position, not only the progress bar UI.
  • It appears to be reproducible only while shuffle is enabled.
  • With shuffle disabled, manually selecting another track correctly starts it from 0:00.
  • Disabling shuffle is currently a workaround.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions