Bug 488369

Summary: "Allow restoring on future sessions" checkbox is unclear and misleading
Product: [Plasma] xdg-desktop-portal-kde Reporter: Nate Graham <nate>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: normal CC: ahiemstra, akselmo, aleixpol, havard.stien, jgrulich, julien.dlq, nate, nicolas.fella, putr4.s
Priority: NOR Keywords: usability
Version: git-master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=488372
https://bugs.kde.org/show_bug.cgi?id=480235
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nate Graham 2024-06-11 15:59:58 UTC
What this checkbox actually does is auto-accept new requests for the same thing until the system (or the portal) is restarted. The text fails to communicate this adequately. Consider changing it to something like:

"Don't ask again until system is restarted"

"Auto-accept this connection until system is restarted"
Comment 1 Nicolas Fella 2024-06-11 18:28:13 UTC
The fact that the authorization only persists until restart is a bug that is fixed with https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/289
Comment 2 Nate Graham 2024-06-11 18:46:07 UTC
Got it. Then I guess it could simply be changed to "Don't ask for this connection again" or "Always auto-accept this connection".
Comment 3 Nicolas Fella 2024-06-12 14:44:50 UTC
It's not quite "always". The application can chose between persisting "never", "as long as the application is running", and "until explicitly revoked".

See https://github.com/flatpak/xdg-desktop-portal/blob/main/data/org.freedesktop.portal.RemoteDesktop.xml#L118
Comment 4 Nate Graham 2024-06-12 14:57:37 UTC
Then I guess we need to bubble up what the app asks for in the UI, so the user knows what they're signing up for.