Bug 421526

Summary: [Openconnect] Groupbox for credentials is empty when dialog is created
Product: [Plasma] plasmashell Reporter: postix <postix>
Component: Networks widgetAssignee: Jan Grulich <jgrulich>
Status: RESOLVED WORKSFORME    
Severity: normal CC: justin.zobel, postix, rakuco
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot.
Workflow

Description postix 2020-05-14 18:21:18 UTC
Created attachment 128461 [details]
Screenshot.

Please see the screenshot.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2
Comment 1 Justin Zobel 2020-11-19 23:25:47 UTC
I don't have an OpenConnect VPN to test this on, can you please re-test on 5.20.x to see if there is any change?
Comment 2 postix 2020-11-20 10:21:15 UTC
Yes, still there

Operating System: Manjaro Linux
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.1
Comment 3 Justin Zobel 2020-11-20 11:02:23 UTC
Information provided.
Comment 4 postix 2020-11-20 11:58:40 UTC
Created attachment 133495 [details]
Workflow

Here are the three steps of the workflow to connect via OpenConnect. 
The groupbox starts empty and will first display the login credentials when one clicks on this "resistor" button. 

IMO it should directly display the credentials and not first if one either clicks on on the "resistor" button or changes chooses a different connection type via the combobox.
Comment 5 Raphael Kubo da Costa 2021-10-17 13:55:17 UTC
> IMO it should directly display the credentials and not first if one either clicks on on the "resistor" button or changes chooses a different connection type via the combobox.

I'm not sure if that's possible, as the login information you need to enter depends on the server: plasma-nm receives the fields it needs to prompt from openconnect itself so you need to try to connect first (for example, I'm not prompted for "group" or "username" when I try to connect to my server). I think the closest to that would be enabling the "try to connect automatically next time" checkbox.

I do agree that the empty groupbox that is shown when the dialog is created looks confusing though, and I think it would make more sense to show it only when there are widgets inside it.
Comment 6 Ben Cooksley 2024-12-23 18:26:02 UTC
Bulk transfer as requested in T17796