FreeTubeApp / FreeTube

An Open Source YouTube app for privacy
https://freetubeapp.io/
GNU Affero General Public License v3.0
13.66k stars 864 forks source link

[Bug]: playlist countdown duplicated when seeking past the end of video #4823

Closed jn64 closed 5 months ago

jn64 commented 8 months ago

Guidelines

Describe the bug

  1. Enable Autoplay Playlists
  2. Set Next video interval to a reasonable value (e.g. 5s)
  3. Play any video (except the last one) in a playlist
  4. When there is less than 5s left of the video, seek past the end of the video (press right arrow or l) repeatedly

Each time you seek past the end, another instance of the countdown is shown "Playing next video in X seconds. Click to cancel."

There is a limit of 5 messages displayed at a time, but there does not seem to be a limit to the number of countdowns that can be created. By holding down right arrow with a low key repeat interval, you can create dozens of countdowns; only 5 will show at a time but rapidly replace each other.

Screenshot showing 5 copies of the playlist countdown message

Expected Behavior

Seeking past the end of a video should not create a new countdown if there is already one ongoing.

Issue Labels

visual bug

FreeTube Version

v0.19.2 Beta

Operating System Version

Fedora Linux 38

Installation Method

Flathub

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

NA

Additional Information

Bug also present in latest nightly 4119 (rpm)

Nightly Build

github-actions[bot] commented 6 months ago

This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 5 months ago

This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 5 months ago

This issue was closed because it has been stalled for 7 days with no activity.