Bug 490988

Summary: Persistence in the remote desktop portal fails sporadically
Product: [Plasma] xdg-desktop-portal-kde Reporter: Samuel Jimenez <the.real.samuel.jimenez>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: aleixpol, jgrulich, nate, nicolas.fella
Priority: NOR    
Version First Reported In: 6.1.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Failure on KDE Connect

Description Samuel Jimenez 2024-07-29 16:10:02 UTC
Created attachment 172110 [details]
Failure on KDE Connect

SUMMARY
I am experiencing multiple "Remote control requested" popups using KDE Connect, Krfb, and Xwayland (Steam).
Deleting the files mentioned in https://bugs.kde.org/show_bug.cgi?id=480235#c18 provides a temporary fix, but KDE Connect will still fail approximately 30% of the time, and Krfb 80%.

STEPS TO REPRODUCE
1.  Allow remote control sessions with persistence
2. Continue to use system

OBSERVED RESULT
Persistence restores permissions

EXPECTED RESULT
New popups open rerequesting permissions

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.10.0-zen1-2-zen (64-bit)
Graphics Platform: Wayland


ADDITIONAL INFORMATION
Since Xwayland is not yet supported, I did not include logs, but the session will close after ~5-20 minutes, after which a new popup is triggered.