Closed Bug 1739691 Opened 3 years ago Closed 2 years ago

Media player no longer focused when clicking on background

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

Firefox 94
defect

Tracking

()

VERIFIED FIXED
101 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox97 --- wontfix
firefox98 --- wontfix
firefox99 --- wontfix
firefox100 --- wontfix
firefox101 --- verified

People

(Reporter: royvandervegt, Assigned: hsivonen, NeedInfo)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

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

Steps to reproduce:

I listen to mp3 files using the builtin player of Firefox (e.g. https://podcasts.robstenders.nl/podcasts/bonanza/2021-11-05_(14-16)-bonanza.mp3).

Actual results:

I can no longer use my keyboard to interact with the player after clicking the grey background. I am unable to pause the player with the space bar and unable to change the volume/skip using the arrow keys.
Only when I click the actual player (so not the background) the keyboard shortcuts work again. I think this is a focus issue.

Expected results:

The keyboard shortcuts should also work when focusing the background (as it did in Fx 93 and prior versions).

The Bugbug bot thinks this bug should belong to the 'Core::DOM: UI Events & Focus Handling' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → DOM: UI Events & Focus Handling
Product: Firefox → Core

I got this regression window - Bug 1724243

Flags: needinfo?(hsivonen)
Keywords: regression
Regressed by: 1724243

Set release status flags based on info from the regressing bug 1724243

WFM on Linux, Windows, and Mac.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Flags: needinfo?(hsivonen)
Resolution: --- → WORKSFORME

Sorry, I read the steps to repro wrong. Indeed, this is broken after clicking the background.

Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: WORKSFORME → ---
Flags: needinfo?(hsivonen)

The fix itself is very simple, but let's see if the test works:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=4a2bf9bd8ab73783b6b67c1da81864b63646f3f2

Blocks: 1740066
Assignee: nobody → hsivonen
Status: REOPENED → ASSIGNED
Severity: -- → S3
Pushed by hsivonen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fcd76a911c97
Make keyboard shortcuts for media documents work after clicking outside the media element. r=dholbert
Status: ASSIGNED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
Component: DOM: UI Events & Focus Handling → Layout: Images, Video, and HTML Frames
Flags: qe-verify+

I managed to reproduce this issue on Firefox 100.0(20220428192727) on macOS 11. Verified as fixed on Firefox 101.0b4(20220508185621) and Nightly 102.0a1(20220509190429) on macOS, Ubuntu 20.04 and Win10-64 bits.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: