hyprwm / xdg-desktop-portal-hyprland

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

It works normally at one interval #108

Closed DreamMaoMao closed 1 year ago

DreamMaoMao commented 1 year ago

xdg-desktop-portal-hyprland version:0.5

I needed to start obs twice to successfully record the screen, because the first time it would signal the end of xdg-desktop-portal-hyprland(probably because the previous one didn't exit correctly), and then the second time it would successfully start xdg-desktop-portal-hyprland

so I make a test:

When I first ran /usr/libexec/xdg-desktop-portal-hyprland Then start obs to record the screen successfully

Then I close (Ctrl + c)/usr/libexec/xdg-desktop-portal-hyprland Then starting obs to record the screen will fail

Then I close (Ctrl + c)/usr/libexec/xdg-desktop-portal-hyprland Then launch obs and record the screen successfully

Then I close (Ctrl + c)/usr/libexec/xdg-desktop-portal-hyprland Then starting obs to record the screen will fail

It happens over and over again.

image

DreamMaoMao commented 1 year ago

Is there any way to avoid this,

For example, how to clear the previous connection information before each start xdg-desktop-portal-hyprland

vaxerski commented 1 year ago

0.5 is horribly outdated and not supported