Skip to content

"Ask for confirmation before clearing a queue" doesn't work if queue contains only one track #4459

@nbmrjuhneibkr

Description

@nbmrjuhneibkr

Checklist

Steps to reproduce the bug

  1. Enable the option "Ask for confirmation before clearing a queue".
  2. Add a single track to the background queue (either playing or paused).
  3. Play another video in NewPipe normally.

Actual behaviour

The video starts playing, and background queue is deleted.

Expected behavior

A warning "The active player queue will be replaced" should appear. Just because I have only one track in the queue, doesn't mean that I want NewPipe to remove it without warnings.

Device info

  • Android version/Custom ROM version: Android 11
  • Device model: Pixel 3a

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue is related to a bugplayerIssues related to any player (main, popup and background)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions