Closed Bug 1547263 Opened 5 years ago Closed 5 years ago

Picture-in-Picture player window controls won't fade away if the mouse exits the player window onto a non-Firefox window

Categories

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

Unspecified
Windows
defect

Tracking

()

VERIFIED FIXED
mozilla69
Tracking Status
firefox68 --- disabled
firefox69 --- verified
firefox70 --- verified

People

(Reporter: mconley, Unassigned)

References

Details

STR:

Steps to reproduce:

  1. Launch Nightly
  2. Go to Youtube https://youtube.com
  3. Select any video to play, and hover the video with the mouse
  4. Click on the "Picture-in-Picture" toggle to open the video in the PiP window
  5. Re-arrange your desktop so that there are no Firefox windows behind the Picture-in-Picture player window
  6. Hover the mouse over the player window, and notice that the controls are visible
  7. Move the mouse off of the player window onto some other space on the Desktop that is not a Firefox window

Expected Result:
The controls should fade out.

Actual Result:
The controls do not fade out.

Note:
This is a Windows only issue.

I suspect we need to listen for the WM_NCMOUSELEAVE message as well as WM_MOUSELEAVE.

I suspect this is the same thing as bug 1551961.

See Also: → 1551961

Maybe related to this, these listeners should probably use mouseenter and mouseleave instead: https://searchfox.org/mozilla-central/rev/928742d3ea30e0eb4a8622d260041564d81a8468/toolkit/content/widgets/videocontrols.js#2417,2423

Blocks: 1551961
No longer blocks: 1551961
Depends on: 1551961

This appears to be fixed now that bug 1551961 is fixed.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69

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

Verified as fixed on the latest Nightly build (70.0a1) and latest Beta build (69.0b4) on Windows 10.

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