Closed Bug 1768450 Opened 2 years ago Closed 2 years ago

Pressing "Esc" does not exit PiP fullscreen on Mac

Categories

(Toolkit :: Picture-in-Picture, defect, P2)

Desktop
macOS
defect
Points:
3

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox-esr91 --- wontfix
firefox100 --- wontfix
firefox101 --- wontfix
firefox102 --- wontfix
firefox103 --- verified

People

(Reporter: pmagyari, Assigned: niklas)

References

Details

(Whiteboard: [fidefe-MR1-2022])

Attachments

(1 file)

Affected versions

  • ESR 91.8.0
  • Release 100.0
  • Beta 101.0b4
  • Nightly 102.0a1

Affected platforms

  • MacOS 11.6
  • MacOS 12.0.1

Steps to reproduce

  1. Launch Firefox.
  2. Go to https://www.youtube.com/watch?v=VJI88QIW7H4
  3. Launch Picture-in-Picture mode (Ctrl+Shift+]) and double click the PiP window to make it full-screen.
  4. Press "Esc" to exit PiP full-screen.

Expected result

  • PiP full-screen gets minimized and the playback continues in the PiP window.

Actual result

  • Pressing "Esc" does not do anything.

I can confirm this issue on MacOS 11.6 with the latest Nightly version. I am able to work around it though by clicking on the PiP full-screen window and then pressing the Esc key. The Esc keydown event is probably not detected since the PiP full-screen does not have focus when we first enter full-screen mode.

Has STR: --- → yes
Priority: -- → P2
Assignee: nobody → nbaumgardner
Status: NEW → ASSIGNED
Points: --- → 3
Pushed by nbaumgardner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2a0b1bdc751f
Focus the window when PiP is fullscreened. r=pip-reviewers,kpatenio
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch

I've verified the fix on MacOS 11.6 and MacOS 12 using Nightly 103.0a1 (20220605213032)

The patch landed in nightly and beta is affected.
:niklas, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(nbaumgardner)
Flags: needinfo?(nbaumgardner)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: