Bug 381148 - [Openconnect] Plasma-nm NetworkManager OpenConnect VPN: focus on password field
Summary: [Openconnect] Plasma-nm NetworkManager OpenConnect VPN: focus on password field
Status: REOPENED
Alias: None
Product: plasma-nm
Classification: Plasma
Component: editor (show other bugs)
Version: 5.10.0
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-13 07:44 UTC by rcorreia31
Modified: 2020-07-14 20:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***