Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video pop out as a Picture in Picture window #515

Open
Commenter25 opened this issue Nov 20, 2023 · 3 comments
Open

Video pop out as a Picture in Picture window #515

Commenter25 opened this issue Nov 20, 2023 · 3 comments

Comments

@Commenter25
Copy link

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.

@orowith2os
Copy link
Collaborator

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

@orowith2os
Copy link
Collaborator

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

@Commenter25
Copy link
Author

Commenter25 commented Nov 20, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants