hyprwm / xdg-desktop-portal-hyprland

xdg-desktop-portal backend for Hyprland
BSD 3-Clause "New" or "Revised" License
305 stars 48 forks source link

wlroots: no output / window found #88

Closed JoaoVicthor closed 1 year ago

JoaoVicthor commented 1 year ago

I've just updated to version 1.0.0 and I'm currently unable to share screens or windows.

Here are the DEBUG logs:

2023/09/09 20:54:51 [DEBUG] - hyprland: toplevel handle created 1e5ef30
2023/09/09 20:54:51 [DEBUG] - hyprland: toplevel app_id com.obsproject.Studio
2023/09/09 20:54:52 [INFO] - dbus: create session method invoked
2023/09/09 20:54:52 [INFO] - dbus: request_handle: /org/freedesktop/portal/desktop/request/1_246/obs23
2023/09/09 20:54:52 [INFO] - dbus: session_handle: /org/freedesktop/portal/desktop/session/1_246/obs12
2023/09/09 20:54:52 [INFO] - dbus: app_id: 
2023/09/09 20:54:52 [INFO] - dbus: select sources method invoked
2023/09/09 20:54:52 [INFO] - dbus: request_handle: /org/freedesktop/portal/desktop/request/1_246/obs24
2023/09/09 20:54:52 [INFO] - dbus: session_handle: /org/freedesktop/portal/desktop/session/1_246/obs12
2023/09/09 20:54:52 [INFO] - dbus: app_id: 
2023/09/09 20:54:52 [INFO] - dbus: option types:1
2023/09/09 20:54:52 [INFO] - dbus: option multiple: 0
2023/09/09 20:54:52 [INFO] - dbus: option cursor_mode:2
2023/09/09 20:54:52 [INFO] - dbus: persist 2
2023/09/09 20:54:52 [DEBUG] - dbus: select sources: found matching session /org/freedesktop/portal/desktop/session/1_246/obs12
2023/09/09 20:54:52 [INFO] - wlroots: capturable output: LG Electronics model: LG HDR WFHD: id: 50 name: HDMI-A-1
2023/09/09 20:54:52 [DEBUG] - Screencast: Picker: Running command "WAYLAND_DISPLAY=wayland-1 QT_QPA_PLATFORM="wayland" XCURSOR_SIZE=24 HYPRLAND_INSTANCE_SIGNATURE=1a6f961de2eff84e4725255f09d33395c4a52fcc_1694302872 XDPH_WINDOW_SHARING_LIST="31846192[HC>]com.obsproject.Studio[HT>]Properties for  Screen Capture (PipeWire) [HE>]30340784[HC>]com.obsproject.Studio[HT>]OBS 28.1.2 (linux) - Profile: Untitled - Scenes: Untitled[HE>]30339648[HC>]firefox[HT>]Firefox screensharing fails · Issue #6 · hyprwm/xdg-desktop-portal-hyprland — Mozilla Firefox[HE>]30339248[HC>]kitty[HT>]journalctl --user -fu xdg-desktop-portal-hyprland[HE>]" hyprland-share-picker"
2023/09/09 20:54:57 [DEBUG] - Screencast: Invalid result from hyprland-share-picker: /window:30339248

2023/09/09 20:54:57 [ERROR] - wlroots: no output / window found
2023/09/09 20:54:57 [DEBUG] - hyprland: toplevel handle created 1e60040
2023/09/09 20:54:57 [DEBUG] - hyprland: toplevel app_id hyprland-share-picker
2023/09/09 20:54:57 [DEBUG] - hyprland: toplevel closed hyprland-share-picker
2023/09/09 20:54:57 [INFO] - dbus: session closed
2023/09/09 20:54:57 [DEBUG] - dbus: destroying session 0x1e5ede0
vaxerski commented 1 year ago

this is not 1.0

JoaoVicthor commented 1 year ago

You are correct. I apologize for that.

For anyone else finding this ticket, on previous versions I'd compile it and the bin would be copied to /usr/libexec/xdg-desktop-portal-hyprland. On version 1.0.0, make install copies it to /usr/lib/xdg-desktop-portal-hyprland. So I just overwrote my existing version with the new one.