Skip to content

Screensharing Broken (xdg-desktop-portal-hyprland-1.3.7-1.1) #280

Open
@Ly-sec

Description

Hello,
it seems like the last update (xdg-desktop-portal-hyprland-1.3.7-1.1) broke screensharing to some degree for discord(vesktop etc).
You're still able to share the whole screen, however sharing a single window does not work anymore. You're able to select it once in xdph and after the usual discord screenshare popup the xdph window selection is empty.

Log from systemctl --user status xdg-desktop-portal-hyprland

 xdg-desktop-portal-hyprland.service - Portal service (Hyprland implementation)
     Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal-hyprland.service; stati
c)
     Active: active (running) since Fri 2024-10-25 13:46:40 CEST; 18s ago
 Invocation: 61e7ebfd019f4558b2f0400ed36ff12e
   Main PID: 3996 (xdg-desktop-por)
      Tasks: 9 (limit: 37229)
     Memory: 103.6M (peak: 111.2M)
        CPU: 232ms
     CGroup: /user.slice/user-1000.slice/[email protected]/session.slice/xdg-desktop-portal-hyprland.service
             └─3996 /usr/lib/xdg-desktop-portal-hyprland

Oct 25 13:46:40 archlinux xdg-desktop-portal-hyprland[3996]: [LOG] [screencopy]  | /org/freedesktop/portal/desktop/session/1_110/webrtc_session847344705
Oct 25 13:46:40 archlinux xdg-desktop-portal-hyprland[3996]: [LOG] [screencopy]  | appid:
Oct 25 13:46:40 archlinux xdg-desktop-portal-hyprland[3996]: [LOG] [screencopy] SelectSources:
Oct 25 13:46:40 archlinux xdg-desktop-portal-hyprland[3996]: [LOG] [screencopy]  | /org/freedesktop/portal/desktop/request/1_110/webrtc601814766
Oct 25 13:46:40 archlinux xdg-desktop-portal-hyprland[3996]: [LOG] [screencopy]  | /org/freedesktop/portal/desktop/session/1_110/webrtc_session847344705
Oct 25 13:46:40 archlinux xdg-desktop-portal-hyprland[3996]: [LOG] [screencopy]  | appid:
Oct 25 13:46:40 archlinux xdg-desktop-portal-hyprland[3996]: [LOG] [screencopy] option persist_mode to 1
Oct 25 13:46:40 archlinux xdg-desktop-portal-hyprland[3996]: [LOG] [screencopy] unused option multiple
Oct 25 13:46:40 archlinux xdg-desktop-portal-hyprland[3996]: [LOG] [screencopy] unused option types
Oct 25 13:46:40 archlinux xdg-desktop-portal-hyprland[3996]: [LOG] [screencopy] restore data invalid / missing, prompting

//edit:

I tried sharing a window on https://mozilla.github.io/webrtc-landing/gum_test.html
And that works fine, quite odd

Just tried it with obs, I can share a window once, if I close obs and try again the window list is empty.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions