flathub / com.logseq.Logseq

https://flathub.org/apps/details/com.logseq.Logseq
18 stars 11 forks source link

Cannot share Logseq window on Zoom call #4

Open krillin666 opened 2 years ago

krillin666 commented 2 years ago

Hi,

Thank you for porting Logseq to flatpak !

I've just noticed that I cannot share a Logseq window in a Zoom meeting. This has never happened to me and I tested with both Flatpak and non-Flatpak applications which were all visible in Zoom except Logseq.

Maybe this issue could give valuable information to what may be happening:

https://github.com/flathub/us.zoom.Zoom/issues/223

Thank you.

kanru commented 2 years ago

The linked issue is likely the root cause. Flatpak applications are sandboxed with process id isolation, but setting correct _NET_WM_PID requires them to know their process id outside of the sandbox.

As a workaround, you can try to run the following command from a terminal

xprop -remove _NET_WM_PID

And click the Logseq window when the crosshair cursor appears. It should temporarily fix the issue until you close Logseq.

In future version we may be able to enable native Wayland support, which might fix this issue or make it worse, depending on whether Zoom can capture native Wayland windows.

krillin666 commented 2 years ago

In future version we may be able to enable native Wayland support, which might fix this issue or make it worse, depending on whether Zoom can capture native Wayland windows.

I'm not using Wayland, I'm on XORG, does it help ? Thank you for the answer!