Bug 421526 - [Openconnect] Groupbox for credentials is empty when dialog is created
Summary: [Openconnect] Groupbox for credentials is empty when dialog is created
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networks widget (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-14 18:21 UTC by postix
Modified: 2024-12-23 18:26 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot. (56.67 KB, image/png)
2020-05-14 18:21 UTC, postix
Details
Workflow (363.94 KB, image/jpeg)
2020-11-20 11:58 UTC, postix
Details

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