ArmCord icon indicating copy to clipboard operation
ArmCord copied to clipboard

Video pop out as a Picture in Picture window

Open Commenter25 opened this issue 9 months ago • 3 comments

I tend to pop out video chats and keep it in the corner like a PiP window, but I have to manually set it to always be on top, and there's persistent window decoration on top. I think it'd be nice if it was actually a Picture in Picture window, similar to Firefox, where you drag the window to move it, and you can close it with the return to app button.

A screenshot of a video chat popout window

Wayland doesn't have a way to automatically enable always on top. Firefox is encountering this issue as well, and their official advice is to use KDE window title matching, or a GNOME extension that checks for windows named "Picture in Picture" or ending with " - PiP" automatically. As such, simply adding a window title to the pop out would help greatly.

Commenter25 avatar Nov 20 '23 00:11 Commenter25

This would require both Electron and Wayland changes, I presume.

orowith2os avatar Nov 20 '23 04:11 orowith2os

Also noting that you can mark windows to always be on the top by right clicking the titlebar and selecting "Always On Top". I think that would be enough to mark this as resolved, and redirect the issue to Wayland folks.

image

orowith2os avatar Nov 20 '23 04:11 orowith2os

I think the point was misunderstood, though perhaps I worded it weirdly so I'll take blame. I understand Wayland itself doesn't have a built in way to do this, and I've been doing it the manual way. At a minimum, I'm requesting for the popup to have a unique titlebar so that it can be caught with titlebar matching like I mentioned. If it were possible to implement, which I assumed so since it's possible to implement custom window decorations, having it behave more like a PiP window would also be nice.

Commenter25 avatar Nov 20 '23 15:11 Commenter25