Bug 457621 - [FEATURE REQUEST]Detect installed networkmanager packages and only list available (for VPN for example)
Summary: [FEATURE REQUEST]Detect installed networkmanager packages and only list avail...
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasma-nm
Classification: Plasma
Component: editor (show other bugs)
Version: 5.24.6
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-08 10:25 UTC by Niels
Modified: 2022-08-09 01:00 UTC (History)
3 users (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 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