feat: Support Remote Desktop token persistance - #8865
Conversation
8607fb9 to
39958f5
Compare
4dd5b27 to
9b86406
Compare
9b86406 to
b4b700f
Compare
|
Um to remove remember involves using the desktop to clear it. The easiest way is to (for now) is to remove the xdgRestoreToken entry from the client section of the settings file. Ill maybe add a setting to clear it in our gui. But this is something your desktop should provide a settings area for like the kde flatpak permission kcm. Odd as its fine on my kde machine the restore key (in settings) should be a uuid .. did you use the QtPortals branch on that machine that branch write a non UUID token for the same value (if so just clear it out) |
Turns out I had a borked
Yes, this clears it. I edited
I think manually editing the .conf is good enough, but maybe we should document that at least? |
|
depends on your setting but either way xdg-desktop-portal#1768 would address that. That's an orthogonal problem to the token persistence though (token persistence is also used for "allow reconnect" after a previous ack, for some value of "after". As opposed to "allow unquestioned connect", two subtly different problems). |

Fixes #8869 for Remote Desktop (i.e client)
IMHO There is no reason to ever allow input capture always (i.e server).
Besides, When / If The Input Capture portal gains support for a restore token it should be trivial to use this PR as an example enabling it for that portal.
Edit by @nbolton: Thanks to @whot for work upstream which made this possible.