SUMMARY Under Wayland, applications requesting permission to share screen show the screen choice window at every reboot, even if the option that specifies to preserve the session in the future is selected. STEPS TO REPRODUCE 1. Boot Plasma 6 in a Wayland session 2. Run any application requesting to access the screen (e.g., I am using Rust Desk) 3. Choose the desired screen and specify you want to remember the choice. 4. Reboot and run the application again, and try sharing the screen again. OBSERVED RESULT The application asks again permission to share the screen. EXPECTED RESULT The previous choice should be remembered. SOFTWARE/OS VERSIONS KDE Plasma Version: 6.1.4 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 ADDITIONAL INFORMATION This is very bad, because it makes unattended access to the machine with tools like Team Viewer and Rust Desk useless. What is the point of using these applications if one has to be physically able to confirm the screen permissions every time? This bug has been present since Plasma 6 was released.
This is a bug in RustDesk, it doesn't request the stream to be remembered (it does not pass a persist_mode to the portal request; see https://github.com/rustdesk/rustdesk/blob/master/libs/scrap/src/wayland/pipewire.rs#L666). It works as expected with e.g. OBS Studio
Please report to rustdesk