Skip to content

[FR]: Support Picture-in-Picture Wayland protocol #236

@relativemodder

Description

@relativemodder

Description

Picture-in-picture using a dedicated experimental Wayland protocol

Who's implementing?

  • I'm willing to implement this feature myself

The problem

Recently I found out that Firefox (and also Zen, LibreWolf, etc.) supports this exact experimental Wayland protocol. But I like Helium more (reason being, it's based on Chromium and supports hardware accelerated video decoding on NVIDIA).

What's the xx-pip-v1 protocol? It is a new protocol designed specifically for creating floating PiP windows, and KWin, Plasma's compositor, recently gained support for it. Because it is an experimental protocol, its use is gated behind an environment variable, KWIN_WAYLAND_SUPPORT_XX_PIP_V1.

A new protocol is fine for demos, but it needs real applications. For example, it's implemented it in KClock. This work allows KClock to offer pop-out timers and even a pop-out stopwatch in a small PiP window.

Possible solutions

Please, give us xx-pip-v1. I know, I know, it's experimental, but it would be nice. Sorry if I'm requesting too much.

Additional context

Protocol in KClock

Protocol in KWin (more recent)

Metadata

Metadata

Assignees

No one assigned

    Labels

    approvedMaintainers agree that this makes sensefeatFeature requestupstreamThis bug is in Chromium or ungoogled-chromium, not exclusive to Helium

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions