Bug 381148

Summary: [Openconnect] Plasma-nm NetworkManager OpenConnect VPN: focus on password field
Product: [Plasma] plasma-nm Reporter: rcorreia31
Component: editorAssignee: Jan Grulich <jgrulich>
Status: REOPENED ---    
Severity: wishlist CC: jgrulich
Priority: NOR    
Version: 5.10.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description rcorreia31 2017-06-13 07:44:23 UTC
This is the same enhancement that the one for OpenVPN fixed in bug 379279: NetworkManager "Ask For Password" Popup Focus.
Using OpenConnect, the Username and Password fields are handled differently than with OpenVPN.
From plasma-nm 5.10.1 source code, kded, passworddialog.cpp :
        // Hide generic password field and OK button in case of openconnect dialog
        m_ui->labelPass->setVisible(false);
        m_ui->password->setVisible(false);
        if (shortName == QLatin1String("openconnect")) {
            QAbstractButton *button = m_ui->buttonBox->button(QDialogButtonBox::Ok);
            m_ui->buttonBox->removeButton(button);
        }
I would like to get the focus set to the password field when connecting though OpenConnect VPN.
At the moment, pressing Tab key puts the focus on this field.
Comment 1 Jan Grulich 2017-09-11 13:00:11 UTC

*** This bug has been marked as a duplicate of bug 379279 ***