Project

General

Profile

Actions

Bug #638

closed

Videos from YouTube sometime keep playing after a tab is closed

Added by Soren Stoutner over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Next Release
Start date:
11/14/2020
Due date:
% Done:

0%

Estimated time:

Description

Sometimes the favorite icon is from a tab that has been closed.

Sometimes audio keeps playing from a tab that is closed. Reference https://redmine.stoutner.com/issues/595.

This bug is very intermittent and I haven't been able to pin it down or reproduce it reliably. The root cause is probably that the TabView and the WebViewPagerAdapter get out of sync, but I haven't yet been able to figure out what would cause that to happen (and hence, how to fix it).

If anyone has a way of reliably reproducing this bug that would be very helpful.

Actions #1

Updated by Soren Stoutner over 3 years ago

  • Tracker changed from Feature to Bug
Actions #2

Updated by Soren Stoutner about 3 years ago

  • Subject changed from Tabs sometimes display favorite icons from other tabs to Videos from YouTube sometime keep playing after a tab is closed
  • Priority changed from 3.x to Next Release

Steps to reproduce.

1. Open at least two tabs.
2. In one tab, load youtube.com.
3. Play a video.
4. Close the tab while the automatic timer to start a new video is running. This is the crucial step. Closing the tab while a video is playing instead of the timer countdown will not produce this bug.
5. When the timer that is now, somehow, still running but not associated with a tab runs out, the audio from the new video will start to play.
6. When the audio from the invisible video starts playing, the YouTube favorite icon will be displayed on another tab. This other tab is fully functional with the current content. Navigating to a new URL in this tab will load the correct favorite icon.
7. The only way to stop the audio from playing is to close Privacy Browser.

Actions

Also available in: Atom PDF