https://bugs.kde.org/show_bug.cgi?id=356587
Bug ID: 356587 Summary: Connecting to openconnect vpn fails Product: plasma-nm Version: 5.5.0 Platform: Compiled Sources OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: applet Assignee: jgrul...@redhat.com Reporter: simon.j.mun...@gmail.com CC: lu...@kde.org Having upgraded from 5.4.3 to 5.5.0, previously working openconnect vpn connections now fail to connect. A message is diaplayed about required secrets not being provided/ This bug is due to the change in commit 5dad876a2a That commit removed a 'show password' checkbox from the login form, but that change was not accounted for in the formLoginClicked() function. That function retrieves the layout contaning the password, username etc by calling: d->ui.loginBoxLayout->itemAt(lastIndex - 2)->layout(); As the checkbox has been removed, it should be: d->ui.loginBoxLayout->itemAt(lastIndex - 1)->layout(); A better solution would be to store the login form index in the private data when the layout is added. Reproducible: Always Steps to Reproduce: 1. Try to connect to an openconnect vpn Actual Results: Fails to connect to vpn Expected Results: Successful connection to vpn -- You are receiving this mail because: You are watching all bug changes.