andyholmes / valent

Connect, control and sync devices

Home Page:https://valent.andyholmes.ca

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slideshow remote function times out

jrvgr opened this issue · comments

Current Behavior

When you first use the slideshow remote function it requests permission to use and interact with the screen. After a few seconds of inactivity it loses this permission and you need to accept it again with a dialog on the presenting machine

Expected Behavior

Accept the dialog and don't time out until you click on a button in the app to disengage the function

Desktop

GNOME Shell

Other Desktop

No response

Operating System

Arch

Installed from

Nightly Flatpak

Version

1.0.0.alpha

Devices

KDE Connect (Android), Valent (Desktop Linux)

Plugins

No response

Logs

No response

Screenshots

image

Thanks for reporting.

This is sort of a known problem, which is really upstream in the remote desktop portal specification. The GNOME implementation in Mutter actually has a Closed signal, so clients know when a session has been ended by the user, but the portal has no such signal.

#467 removes the timeout, but since there is no Closed signal, when the user closes the session the XDP plugin will keep using the same dead session. I don't think there's a good solution to this, as of yet.

Closing due to lack of activity. Feel free to re-open if you have time to test, or can come up with a more suitable solution.