Exiting Picture-in-Picture does not focus the respective window
Categories
(Toolkit :: Video/Audio Controls, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox96 | --- | verified |
People
(Reporter: heathened, Assigned: falgunimst95)
References
(Blocks 2 open bugs, Regressed 1 open bug)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Firefox/78.0
Steps to reproduce:
(using Mac OS Big Sur)
Open a Firefox window (herein 'Window A')
Open another Firefox window (herein 'Window B') without closing Window A
Activate Picture-in-Picture mode using a video played from Window B
Put a window that does not belong to Firefox (i.e. Terminal) into focus
De-activate Picture-in-Picture mode using the button that appears over the floating video
Notice that even though the video originated in Window B, Window A is brought into focus
Actual results:
Firefox requests focus from the OS when Picture-in-Picture is de-activated, but does not take into consideration which Firefox window to focus. Firefox always focuses the first window opened.
Expected results:
Firefox should always focus the Firefox window where the video was playing from when Picture-in-Picture is de-activated.
Correction: User Agent says Mac OS X 10.15, but this is incorrect. I suspect this bug is present regardless of OS version, but this bug was found and tested on Mac OS 11.1.
Comment 2•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Updated•4 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 3•3 years ago
|
||
Thank you very much
Assignee | ||
Comment 4•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 6•3 years ago
|
||
bugherder |
Updated•3 years ago
|
Comment 7•3 years ago
|
||
I was able to reproduce the issue on Mac 10.13 using build 86.0a1 (20210120214738).
Verified as fixed on Mac 10.13, Win10 and Ubuntu 20.4 using build 96.0b3 (20211209163454).
Description
•