Ability to cancel secondary (VPN) connection
(Originally reported against KDE's plasma-nm at https://bugs.kde.org/show_bug.cgi?id=414413 , however the bottleneck seems to be lack of corresponding feature in NetworkManager itself.)
SUMMARY Feature request: Ability to cancel secondary (VPN) connection.
When VPN is temporarily unavailable, it is not easy to skip VPN connection and just use a normal network connection without VPN.
STEPS TO REPRODUCE
- Add Wi-Fi connection in plasma-nm.
- Add VPN (e.g. openvpn) in plasma-nm.
- In the Wi-Fi connection's settings, enable "Automatically connect to VPN" and choose the openvpn VPN connection.
- Break/stop the openvpn server or wait until it goes offline by itself ;)
- In the plasma-nm applet, click Connect to connect to Wi-Fi. (Or imagine that you have just turn on the computer and now NetworkManager tries to reconnect to Wi-Fi automatically.)
- Assume you can't fix the VPN server and you want to go online immediately using plain Wi-Fi connection without VPN.
OBSERVED RESULT To go offline, you have to open plasma-nm settings dialog, select the Wi-Fi connection, disable "Automatically connect to VPN", then click OK/Apply and finally manually reconnect to Wi-Fi in the plasma-nm applet.
This approach is complicated and time-consuming. I would like to avoid it, but there is no good alternative.
EXPECTED RESULT There should be a button "Skip/Bypass VPN" in the plasma-nm applet on in a Plasma notification. This button appears when Wi-Fi connection is live, and at the same time the secondary VPN connection is being attempted but not ready yet. When you click on this button, plasma-nm should go online using just the Wi-Fi connection, like if you didn't enable "Automatically connect to VPN".