Bug 439855

Summary: Restart is required to update the list of available protocols after toggling plugins
Product: [Applications] krdc Reporter: Andrew Shark <ashark>
Component: generalAssignee: Urs Wolfer <uwolfer>
Status: REPORTED ---    
Severity: normal CC: aacid
Priority: NOR    
Version First Reported In: 21.04.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Andrew Shark 2021-07-14 21:20:36 UTC
SUMMARY
When you enable or disable plugins (vnc, rdp) in settings, the list of available protocols does not changes until restart application.

STEPS TO REPRODUCE
Let's assume that at previous launch you have disabled vnc and enabled rdp plugin. And now you want to connect using vnc.
1. In the dropdown list of protocols (at the top of application, near the label "Connect to:") you see that only rdp is available.
2. Go to krdc settings, Plugins tab, enable vnc checkbox, press ok.
3. Again go to dropdown list of protocols.

OBSERVED RESULT
There is still only rdp protocol available. No vnc protocol there.
If restart krdc, then vnc will be there.

EXPECTED RESULT
User expects to be able to choose vnc after enabling plugin without need to restart krdc. [Or at least to be warned that it is required].

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2