Open Bug 1801333 Opened 2 years ago Updated 2 years ago

The PiP's X button brings the main window into focus when it should only close the PiP

Categories

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

Desktop
macOS
defect

Tracking

()

Tracking Status
firefox-esr102 --- affected
firefox107 --- affected
firefox108 --- affected
firefox109 --- affected

People

(Reporter: danibodea, Unassigned)

References

Details

(Whiteboard: [fidefe-MR1-2022])

Found in

  • Beta v108.0b3

Affected versions

  • Nightly v109.0a1
  • ESR v102.5.0esr

Tested platforms

  • Affected platforms: MacOS
  • Unaffected platforms: Win10, Ubu22

Steps to reproduce

  1. Play any video (that supports playback in PiP)
  2. Launch PiP.
  3. Focus on any other application and leave the main window in the background.
  4. Click the PiP's "X" button.

Expected result

  • The PiP is closed and the focus is given to the application that last had it.
  • Only the "Back to tab" PiP button should bring the main Fx window in focus.

Actual result

  • The PiP is closed and the Fx window from which the PiP was taken out is brought into focus.

Regression range

  • Not a recent regression since it reproduces on Nightly v95.0a1.

Additional notes

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