Picture-in-Picture should not activate with keyboard shortcut if set media.videocontrols.picture-in-picture.enabled = false
Categories
(Toolkit :: Video/Audio Controls, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox79 | --- | verified |
People
(Reporter: mail, Assigned: Gijs)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Steps to reproduce:
Open the config with about:config
Search for picture-in-picture
Set media.videocontrols.picture-in-picture.enabled to false
For good measure set media.videocontrols.picture-in-picture.video-toggle.enabled to false
Restart the browser
Visit a page with video e.g. https://www.youtube.com/watch?v=NH4DdXC0RFw and start playing the video
Use the keyboard shortcut Control + Shift + ]
Actual results:
A picture-in-picture video opened in the bottom right on my display
Expected results:
I would expect no picture-in-picture functionality to work if I've disabled it.
When using the keyboard shortcut Control + Shift + ] I would expect nothing to happen.
Comment 1•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Assignee | ||
Comment 2•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
I should note that my personal reason for not wanting that shortcut to trigger PiP (or anything else) is that I use it to change tabs (through Autokey). That shortcut is muscle memory from using a Mac for years.
I saw in a comment in Phabricator that you "could be convinced that the toggle pref shouldn't control the keyboard shortcut". Does that mean that there would be no way to disable the PiP shortcut? Or would there be a new pref to disable/enable it?
Assignee | ||
Comment 4•4 years ago
|
||
(In reply to tanc from comment #3)
I saw in a comment in Phabricator that you "could be convinced that the toggle pref shouldn't control the keyboard shortcut". Does that mean that there would be no way to disable the PiP shortcut? Or would there be a new pref to disable/enable it?
It would mean you could disable it by setting media.videocontrols.picture-in-picture.enabled
to false, but not by setting media.videocontrols.picture-in-picture.video-toggle.enabled
- the point is that, AFAICT, the latter is maybe just supposed to disable the visual, bright blue toggle, and not other UI entrypoints, as the context menu entry does not disappear if you just disable the video-toggle.enabled
pref.
(In reply to :Gijs (he/him) from comment #4)
It would mean you could disable it by setting
media.videocontrols.picture-in-picture.enabled
to false, but not by settingmedia.videocontrols.picture-in-picture.video-toggle.enabled
- the point is that, AFAICT, the latter is maybe just supposed to disable the visual, bright blue toggle, and not other UI entrypoints, as the context menu entry does not disappear if you just disable thevideo-toggle.enabled
pref.
+1 makes sense
Comment 7•4 years ago
|
||
bugherder |
Comment 8•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Comment 9•4 years ago
|
||
Confirmed issue with 79.0a1(2020-06-13).
Verified with 79.0b4 on Windows 10, macOS 10.15.5, Ubuntu 18.
Description
•