elementary / elementary/gala

Make Picture-in-Picture "mask" the window instead of drawing a region

Open
#658 2 comments 1 reaction 0 assignees View on GitHub
Confirmed Picture-in-Picture
Dominant language
Vala
Stars
302
Forks
83
Avg merge
1d 1h
Merged PRs (30d)
7

Description

Right now PiP works by drawing a rectangular region on the window, which has some issues:

- You only get one shot; if you mess up, you have to close PiP and start over
- The original window sticks around, meaning you have two copies of the content
- It's unclear what you're supposed to do when you hit the shortcut

Instead, we should switch to a corner grabber design that masks/clips the window down to the chosen PiP area, with an explicit "confirm" button to complete the area selection. Here is a sketch I did a while back:

![MVIMG_20191211_220137](https://user-images.githubusercontent.com/611168/70750746-3aa56980-1cec-11ea-9226-ee76bfd0745b.jpg)

And [here is a rough motion mockup on YouTube](https://www.youtube.com/watch?v=SDJYnZlqdn4).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.