PiP button doesn't work after putting tab back in window
Categories
(Toolkit :: Video/Audio Controls, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox71 | --- | verified |
People
(Reporter: valentin, Assigned: mconley)
References
Details
Attachments
(2 files)
I found this bug on Linux, but it reproduces on Windows too. Seems to happen every time.
STR:
- Open youtube video in a new tab - start playing it.
- Drag tab out of the tab list, so it opens in a new window
- Drag youtube tab back into the original window
- Try to click PiP button - Doesn't work. (it clicks through it, pausing the video, instead of popping out).
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
It seems that after doing a tab tear out, the WindowRoot ends up changing, so
the mouse button listeners for the toggle end up being attached to the wrong
thing. This patch makes it so that we monitor for tear out/in, and unattach the
mouse button listeners, and then re-attach them on the new WindowRoot after
the tab tear out/in completes.
Assignee | ||
Comment 2•6 years ago
|
||
Depends on D48885
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Comment 6•6 years ago
|
||
Backed out 2 changesets (Bug 1587362) for causing very frequent bc failures in toolkit/mozapps/extensions/test/browser/browser_about_debugging_link.js CLOSED TREE
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=270960385&repo=autoland&lineNumber=13817
Assignee | ||
Comment 7•6 years ago
|
||
Here's a try push showing all green with just the fix (and not the test) landed:
I'll re-land the fix, and examine why the test may have caused the spike in oranges.
Assignee | ||
Updated•6 years ago
|
Comment 8•6 years ago
|
||
bugherder |
Comment hidden (obsolete) |
Assignee | ||
Comment 11•6 years ago
|
||
Oops, nevermind - looking at the revision linked to from comment 9, I think pulsebot is referring to the original backout that happened at comment 6. I guess it was just a little late.
Sorry!
Assignee | ||
Comment 12•6 years ago
|
||
I suspect with bug 1576472 fixed, the test can land now.
Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=ae63a4dc188d50ff7464b0aef9ebd07a6839c626
Assignee | ||
Updated•6 years ago
|
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
bugherder |
Updated•6 years ago
|
Comment 15•6 years ago
|
||
Description
•