Skip to content

Position is displayed as 1 when adding tracks to an empty queue #1647

@zapteryx

Description

@zapteryx

Describe the bug

When adding a track to an existing session with an empty queue, the position is displayed as 1.
This behaviour is inconsistent with adding a track when there is no session, which omits the position display entirely (or shows Position: 0 - 2 if multiple tracks are added).

Severity

Medium

Affected branches

  • Stable
  • Staging
  • Next

Quaver version

8.0.0-next.30

Steps to reproduce

  1. Start a session by playing a track.
  2. Skip the track.
  3. Add another track.

Expected behavior

Position displays as 0 or is omitted.

Actual behavior

Position is displayed as 1.

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    branch:nextIssues: Impacts next branchpriority:p2Issues and PRs: Medium priorityreleased on @nextstatus:confirmedIssues and PRs: Confirmed bug, or enhancement is confirmed to be added

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions