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

Screensharing issue #69

Open
aacebedo opened this issue Feb 11, 2024 · 4 comments
Open

Screensharing issue #69

aacebedo opened this issue Feb 11, 2024 · 4 comments

Comments

@aacebedo
Copy link

Hi,

I am not 100% sure yet, but I think that hy3 causes a problem with screensharing of tabbed windows and hyprland portal.

If I try to share a non-focused tabbed window using https://mozilla.github.io/webrtc-landing/gum_test.html, I end up with a blank screen. This does not happen if the window is visible when I start sharing, but it freezes if I tab the window that is currently shared.

I am using hyprland, hy3 0.34 and xdg-desktop-portal-hyprland 1.3.1 on NixOS.

Anyone can reproduce?

@Mange
Copy link

Mange commented Feb 12, 2024

Seems to be the same effect for me.

Note that window sharing always fails for me except for the first share after a Portal restart, so my reproduction was basically this:

  1. Restart portal
  2. Try to share window $window.
  3. Wait for preview to come up in my browser.
Case Outcome
Visible non-tabbed window Works
Visible tabbed window Works after some time, most of the times
Tabbed window that is not focused No preview response, not even black screen
> hyprctl version
Hyprland, built from branch  at commit 4f804d5f962070c531dea5025e61be8a0da8129e  ().
Date: 2024-01-31

# plugin=/nix/store/xp15haqh2pkwa48p187mncdqq5108cw3-hy3-0.1/lib/libhy3.so

@outfoxxed
Copy link
Owner

So what happens if you do the same thing on a normal hyprland group? We do roughly the same thing in hy3 that hyprland does with hidden windows in a group.

@aacebedo
Copy link
Author

So what happens if you do the same thing on a normal hyprland group? We do roughly the same thing in hy3 that hyprland does with hidden windows in a group.

Tried grouped window, and it seems to have the same problem. So it may be related to hyprland. I opened a bug here hyprwm/xdg-desktop-portal-hyprland#179. Depending on the response, I'll close this one.

@outfoxxed
Copy link
Owner

Alright let me know if its not just a hyprland issue

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

3 participants