I really like the idea of adding trackpad gesture support to the PiP (Picture-in-Picture) view. The proposed gestures seem intuitive and would indeed enhance the experience for trackpad users. Here's how I imagine the implementation could work:
Proposed Gestures:
- Swipe Up: Moves the Mini-Player up.
- Swipe Left: Moves the Mini-Player to the left.
- Swipe Right: Moves the Mini-Player to the right.
- Swipe Down: Moves the Mini-Player down.
- Pinch-In: Shrinks the PiP window.
- Pinch-Out: Enlarges the PiP window.
Additional UX Enhancements:
- Cursor Behavior: Hiding the macOS cursor during gestures is a great touch. Restoring the cursor near the PiP window’s new position creates a cohesive mental model of the PiP being "detached" from traditional macOS windows, making it feel more dynamic and unique.
- Target Audience: This would especially resonate with Mac users who heavily rely on trackpad gestures, adding a sense of control and delight that's distinct from a typical PiP experience.
The Arc browser already offers this functionality. And so I believe it is a good feature (as they pour millions of dollars into designing that browser). Also, It aligns perfectly with the kind of smooth, trackpad-driven workflows that Mac users enjoy. Adding this will imrpove the PiP experience for the users who use Trackpad.
PS: Considering a toggle in settings for those who might prefer traditional PiP interactions.