Open Bug 1880701 Opened 8 months ago Updated 4 months ago

YouTube shortcut navigation issue, when CTRL-tabbing between tabs Firefox is not longer focuses on the vid.

Categories

(Firefox :: Tabbed Browser, defect)

Desktop
Windows
defect

Tracking

()

Tracking Status
firefox123 --- wontfix
firefox124 --- wontfix

People

(Reporter: joe_devore, Unassigned, NeedInfo)

References

(Regression)

Details

(Keywords: nightly-community, regression)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:122.0) Gecko/20100101 Firefox/122.0

Steps to reproduce:

  1. open a new tab to YouTube.com and start playing any YouTube video.
    ctrl-tab to another open tab or website and back.
    example vid:
    https://www.youtube.com/watch?v=auAYd1EN3jY

Actual results:

the playback shortcut of using the [space-bar] to pause and play the video is no longer focused on the video and/or only causes the mouse cursor to appear if above hovering over the video and the display of the seekbar and controls..

Expected results:

[CTRL-TAB] should remained focused on the the video so play back can be paused or UN-paused using the [space-bar].

this has been happening since the release of Firefox v119.0 as I recall it started to happen then, unless Google changed the webpage code for YouTube again lol..

I am running Windows 11 Pro and 64bit Firefox v122.0.1
if any more info is needed or I missed something please ask.
this has been bugging me for a while lol.

hmm the other navigation shortcuts like 'F' key for full-screen mode still works..
its just the shortcut using the space-bar that isn't working right when CTRL-tabbing between tabs..
clicking on the tab using the mouse cursor, the space-bar works fine as long as the video pause was on focus..
ie.. I had previously clicked on the middle of the video or so with the mouse cursor..

OS: Unspecified → Windows 11
Hardware: Unspecified → x86_64

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 11 → Windows
Regressed by: 1692303
Hardware: x86_64 → Desktop
Version: Firefox 122 → Trunk

Hi, it has been about a week, so any luck fixing this issue yet?

This appears to be an old regression, not sure the author is active anymore. :jimm do you think you could you set a priority/severity on this?

Flags: needinfo?(jmathies)

I just installed the Firefox Nightly (v125.0.0_alpha01)
trying out YouTube ctrl-tabing now..
I copied my profile into the new nightly profile folder so I would have access to all things..
will report back soon.

This issue still happens on the nightly build (v125.0.0_alpha01) but I will continue to test as new nightlies come out.

I tried disabling the addon uBlockOrigin to test if that was interfering..
issue still occurs with it off.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=9b3086eafa6a9e5e5a68a6a9448f00bfcb389abd&tochange=14e56036de5c57f277d0112cbfc742d1e7861fbd

In the regression window, Bug 1692303 - Flip default value to browser.ctrlTab.recentlyUsedOrder to false r=mstriemer,mconley,preferences-reviewers(In reply to Alice0775 White from comment #6) seems related.

Hi Mark, does this ring any bell?

Flags: needinfo?(mstriemer)
Flags: needinfo?(jmathies)

Hi Joseph, Thanks for the report. I can reproduce this. When I use the mouse to click and switch between tabs, the space key works as expected, but it does not when I am using the ctrl-tab key.

BTW, in both cases, neither focus nor focusout event is observed in the video element by adding the following code in the Web Console:

const videos = document.getElementsByTagName("video");
videos[0].addEventListener("focus", (event) => { console.log("focus"); });
videos[0].addEventListener("focusout", (event) => { console.log("focusout"); });

C.M.Chang, good to hear.

I am moving this to the tabbed browser module to do further investigation.

Component: Audio/Video: Playback → Tabbed Browser
Product: Core → Firefox

I updated to the latest Nvidia display driver yesterday I think.. v555.99 from v555.85 and this issue seems to have cleared up..
ctrl-tab and pausing the YouTube videos seems to be working again..
so unless Mozilla fixed something the driver update fixed it instead.. or maybe YouTube itself had a fix..??
this can be closed for now. I guess.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: