vokoscreenNG icon indicating copy to clipboard operation
vokoscreenNG copied to clipboard

Keeping the webcam on top of other full-screen windows

Open stefanct opened this issue 2 years ago • 5 comments

Currently (3.0.7 on Linux), the webcam window is hidden behind other foreground windows like video viewers or presentations if they are full-screen and have focus. Since recording presentations is the only relevant use case for me, this bugs me quite a bit ;) I have not tried it but the solution might be to set the Qt::X11BypassWindowManagerHint flag on the webcam window. AFAICT this corresponds to the override-redirect x11 attribute that keeps the window manager from controlling the window.

stefanct avatar Sep 16 '21 02:09 stefanct

Thanks for the hint. Done. https://github.com/vkohaupt/vokoscreenNG/commit/14bbd756470dc00f15b109df396a6244436b76b4

vkohaupt avatar Oct 10 '21 16:10 vkohaupt

Thanks! So it actually works?

stefanct avatar Oct 10 '21 16:10 stefanct

I've tested this under a current KDE and Gnome and it works. To get this feature you have to set the camera window to be frameless.

vkohaupt avatar Oct 10 '21 18:10 vkohaupt

There's a bug in this on Ubuntu 20.04 LTS (stable/3.0.9). Works when first started, but is forgotten after switching the frame back on to move the webcam window around

StephanEggermont avatar Dec 08 '21 13:12 StephanEggermont

The next release will appear at the end of December, the bug is fixed there.

vkohaupt avatar Dec 08 '21 16:12 vkohaupt