Closed Bug 1549442 Opened 5 months ago Closed 13 days ago

Picture-in-Picture toggle does not collapse or disappear if the mouse moves outside of the window.

Categories

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

68 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox68 --- wontfix
firefox71 --- fixed

People

(Reporter: alice0775, Assigned: mconley)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

Attached image image.png

Steps to reproduce:

  1. Open https://www.mozilla.org/en-US/developer/
  2. Scroll to bottom
  3. Scroll to "Videos to watch"
  4. Playbacj the video
  5. Move mouse pointer over the video, And then move the mouse outside of the video
    --- observe, Picture-and-Picture toggle would not disappear
  6. Repeat step 5 if necessary

Actual Results:
Picture-and-Picture toggle would not disappear.
Even if video controls are hidden, the toggles is staying over the video forever.

Expected Results:
Picture-in-Picture toggle should not display when mouse pointer is outside of video.

s/4. Playbacj/4. Playback/

Needinfo for PiP triage.

Flags: needinfo?(mconley)
Flags: needinfo?(mconley)
Priority: -- → P2

Another Steps to reproduce:

  1. Open https://www.nicovideo.jp/watch/1558058343
  2. Start playback
  3. Click on Full screen button in video controls
  4. Move mouse pointer over video
    --- the PiP toggle button appears as expected
  5. Move mouse pointer outside of video
    --- the PiP toggle button is staying forever --- BUG!

This will be improved somewhat once bug 1566152 is closed.

I can confirm toggle buttons no longer stay indefinitely in various cases after bug 1566152.

I can still reproduce the issue.

Build ID 20190720214009
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0

Steps to reproduce:

  1. Browser unmaximized
  2. Open https://www.nicovideo.jp/watch/1558058343
  3. Start playback
  4. Click on Full screen button in video controls
  5. Move mouse pointer over video
    --- the PiP toggle button appears as expected
  6. Mouse hover over the PiP toggle button
  7. Move mouse pointer to the right so that mouse pointer will be outside of browser
    --- the PiP toggle button is staying forever --- BUG!
Attached video screencast, bug appears
Summary: Picture-in-Picture toggle should not display when mouse pointer is outside of video → Picture-in-Picture toggle does not collapse or disappear if the mouse moves outside of the window.
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5bad9f31e57f
Make sure to hide the Picture-in-Picture toggle when the mouse cursor leaves the window. r=JSON_voorhees
Status: NEW → RESOLVED
Closed: 13 days ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Assignee: nobody → mconley
You need to log in before you can comment on or make changes to this bug.