Bug 457621

Summary: [FEATURE REQUEST]Detect installed networkmanager packages and only list available (for VPN for example)
Product: [Applications] systemsettings Reporter: Niels <nvaert1986>
Component: kcm_networkmanagementAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: jgrulich, nate, nicolas.fella
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Niels 2022-08-08 10:25:10 UTC
SUMMARY
***
Currently KDE (plasma-nm) shows all available options for creating a VPN connection, even when not all of the networkmanager packages are installed on my system. Wouldn't it be a better idea to detect which networkmanager packages are installed (like networkmanager-vpnc networkmanager-openvpn etc.) and only display the available options? Similar to what gnome does?
***
Comment 1 Nicolas Fella 2022-08-08 20:32:08 UTC
I'm not sure this is a good idea.

Currently when the user tries to create a VPN connection where the relevant networkmanager package is missing Plasma will tell them to install the relevant package. That way they know they need to do something to get the wanted functionality.

If we were to hide the entries that create those kinds of VPNs then they might assume that the VPN they need can't be added by Plasma. They fact that they need to install some networkmanager package wouldn't be obvious at all
Comment 2 Nicolas Fella 2022-08-08 20:34:16 UTC
> Currently when the user tries to create a VPN connection where the relevant networkmanager package is missing Plasma will tell them to install the relevant package

FTR this was added in 5.25, since you are on 5.24 you probably haven't seen that