https://bugs.kde.org/show_bug.cgi?id=480235

Sergey <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #24 from Sergey <[email protected]> ---
Hello.
Still reproducible on Plasma 6.6.3 + xdg-desktop-portal-kde 6.6.3

SUMMARY
RemoteDesktop persistence still does not restore on Plasma 6.6.3 with
xdg-desktop-portal-kde 6.6.3 when using Lamco RDP Server

SOFTWARE/OS VERSIONS
Operating System: CachyOS
KDE Plasma Version: 6.6.3
xdg-desktop-portal Version: 1.20.3
xdg-desktop-portal-kde Version: 6.6.3
Graphics Platform: Wayland

APPLICATION
Lamco RDP Server 1.4.2 (native package, not Flatpak)

STEPS TO REPRODUCE
1. Run `lamco-rdp-server --grant-permission`
2. Approve the RemoteDesktop permission dialog
3. Start Lamco normally afterwards
4. Observe that the permission dialog appears again on the next start

OBSERVED RESULT
The permission dialog appears again every time the service is started.

EXPECTED RESULT
After permission is granted once with persistence support, the backend should
restore the RemoteDesktop session without prompting again.

ADDITIONAL INFORMATION
Lamco reports that the portal supports restore tokens and persist mode 2.

Relevant debug log excerpts:

Portal capabilities:
- Portal v5 supports restore tokens (maxpersist mode: 2)

Token load/save:
- Token loaded from KDE Wallet successfully
- Restore token loaded successfully
- libei: Loaded restore token (36 chars)
- Token stored in KDE Wallet successfully
- Restore token saved successfully

But the portal response still says:
- No restore token in response (portal may not support persistence)
- Permission dialog will appear

This suggests the application is loading and passing an existing restore token,
but xdg-desktop-portal-kde still does not restore the RemoteDesktop session and
prompts again.

Portal v5 supports restore tokens (maxpersist mode: 2)
Token loaded from KDE Wallet successfully
Restore token loaded successfully
libei: Loaded restore token (36 chars)
No restore token in response (portal may not support persistence)
Permission dialog will appear

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to