Bug 503566

Summary: The persistence property of the remote control confirmation is lost after failed login attempts
Product: [Plasma] KRdp Reporter: SnDream <sndream>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: REPORTED ---    
Severity: normal CC: ahiemstra, nate
Priority: NOR    
Version First Reported In: 6.3.4   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description SnDream 2025-04-30 06:58:44 UTC
SUMMARY

During initial login, the remote desktop portal requests permission and allows setting persistence to avoid future prompts. In subsequent accesses, as long as correct credentials are entered each time, no reauthorization is required - this persists even after reboots.

However, whenever login fails (whether due to incorrect credentials or intentional errors), the persistence property gets cleared. This forces users to physically return to the device to re-enable permissions, making it particularly problematic for unattended environments.

STEPS TO REPRODUCE
1. Perform a normal login using KRDP. Grant permissions on the device and enable persistence, then log out.
2. Attempt to log in with incorrect credentials (wrong username or password).
3. Attempt to log in again with the correct username and password.

OBSERVED RESULT
After step 3, the session should proceed without requiring reauthorization (persistence should remain enabled).

EXPECTED RESULT
After a failed login attempt (step 2), persistence is lost, forcing reauthorization even when correct credentials are used in step 3.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.3
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.3
Kernel Version: 6.11.0-24-generic (64-bit)
Graphics Platform: Wayland
Processors: 6 × Intel® Core™ i5-8500 CPU @ 3.00GHz
Memory: 31.0 GiB of RAM
Graphics Processor: Intel® UHD Graphics 630


ADDITIONAL INFORMATION