Bug 506021

Summary: When connecting to openconnect VPN focus is not automatically on the input fields
Product: [Plasma] plasmashell Reporter: Ovidiu-Florin BOGDAN <kde.kfoar>
Component: Networking in generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: minor CC: nate
Priority: NOR    
Version First Reported In: 6.3.5   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ovidiu-Florin BOGDAN 2025-06-23 07:00:50 UTC
SUMMARY
When connecting to an VPN using openconnect protocol (Cisco AnyConnect), we are prompted for 3 things to input: Username, passowrd, MFA key. The fields for these are shown one at a time, not all 3 at once. After submitting the username, the password field is shown, but the focus is not int the field, so I we must click in the field to be able to type in the password. The same happens with the MFA field after submitting the password.

STEPS TO REPRODUCE
1. Start connection to VPN
2. Connection dialog asks for username, field is prepopulated (if set to remember credentials)
2.1. If field is empty, we must click in the username field to be able to type in the username
3. Submit username
4. Connection dialog asks for password. Field is not populated (even if set to remember credentials)
5. Click in password field, and type the password
6. Submit password
7. Connection dialog asks for MFA key
8. Click in MFA key field, and type the MFA key
9. Submit MFA key
10. Connection to the VPN starts

OBSERVED RESULT
When prompted to enter the Passowrd or MFA key, the fields don't automatically have the focus in them, so we may type. We need to either use the mouse to click in the field for setting focus, or use a lot of TAB key presses to transfer focus to it.

EXPECTED RESULT
The typing of credentials to be a fluid activity, without the need to use the mouse to select the input field for each entry.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 41 KDE
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
Possibly related to https://bugs.kde.org/show_bug.cgi?id=379279 - marked as fixed in Plasma 5.9.6