Closed Bug 1566906 Opened 5 years ago Closed 5 years ago

Picture-in-Picture toggle should not open PiP except on primary mouse click

Categories

(Toolkit :: Video/Audio Controls, defect, P2)

68 Branch
defect

Tracking

()

VERIFIED FIXED
mozilla70
Tracking Status
firefox69 --- disabled
firefox70 --- verified

People

(Reporter: mconley, Assigned: mconley)

References

Details

Attachments

(1 file)

STR:

On a build with Picture-in-Picture enabled:

  1. Go to https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
  2. Hit the Play button on the video
  3. Hover the mouse over the video so that the Picture-in-Picture toggle button is displayed
  4. Right-click on the Picture-in-Picture toggle button

ER:

Nothing.

AR:

The Picture-in-Picture player window opens.

We should only pay attention to primary (left) mouse clicks.

Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/18a84c6f3392
Make Picture-in-Picture toggle only listen for clicks from the primary mouse button. r=JSON_voorhees
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70

Verified - Fixed on latest Firefox Beta 70.0b6 (64-bit) on Windows 10 x64. - using media.videocontrols.picture-in-picture.video-toggle.enabled true

Right-clicking the toggle will open the context menu with the "Hide Picture-in-Picture Toggle" but will not open the video in PiP.
Also updating flags.

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

Attachment

General

Created:
Updated:
Size: