Closed Bug 1780911 Opened 3 years ago Closed 3 years ago

Provide an easy way to snap a PiP window back to a corner after moving it elsewhere

Categories

(Toolkit :: Picture-in-Picture, enhancement, P3)

Desktop
Windows
enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1772404

People

(Reporter: james.carroll, Unassigned, Mentored)

Details

+++ This bug was initially created as a clone of Bug #1604247 +++

The snapping feature no longer works on Windows after firefox removed support for metaKey. Can someone please find a work-around for this?

hi, I'm new here and this is gonna be my first contribution. I want to fix this bug, but I kind of don't know where to start.

Flags: needinfo?(james.carroll)

I think that this problem could be solved by extending the keyboards shortcuts available for the PiP window, such as ctrl + down = mute etc. I think that something like alt + up anchors to the top and alt + right anchors it to the right would benefit users of PiP on all platforms. If the mentors feel that this is an appropriate solution, I would be happy to implement it.

For now the solution I've found (in case anyone else is encountering this) is to remove the location and size information from %appdata%/Mozilla/Firefox/Profiles/[My Profile]/xulstore.json. To do this you open the file, look for a section that looks like this {"picture-in-picture":{"left":"2464","top":"1296","width":"136","height":"216"}} and just delete it entirely (while keeping the json formatting in taxt) and then restart your browser. It should reset the values to default when you next open a PiP window.

Marking this ticket as a duplicate of Bug 1772404 since that ticket has a WIP patch attached aiming to address snapping for Windows and Linux.

Severity: -- → S3
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Component: Video/Audio Controls → Picture-in-Picture
Duplicate of bug: 1772404
Flags: needinfo?(james.carroll)
Priority: -- → P3
Resolution: --- → DUPLICATE
See Also: → 1772404
See Also: 1772404
You need to log in before you can comment on or make changes to this bug.