SUMMARY When you import a VPN connection file you have to click the "Apply" button to save the changes. However the button does not get enabled after the import is done and the connection gets removed when the session ends. STEPS TO REPRODUCE Go to System Settings > Network > Connections and try to import a VPN connection configuration file. WORKAROUND If you modify the value of one of the text-fields the button gets enabled. SOFTWARE/OS VERSIONS Operating System: EndeavourOS KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.9 Kernel Version: 6.2.11-zen1-1-zen (64-bit) Graphics Platform: Wayland
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-nm/-/merge_requests/243
The problem is that newly imported connections weren't properly saved to NetworkManager. Clicking apply just happens to work around that because saving an edited connection does save the connection properly
Ah i see, thank you for fixing the bug so quickly.
Git commit 024035190982ac5957310ef78fbc34b9c51766c2 by Nicolas Fella. Committed on 19/04/2023 at 12:01. Pushed by nicolasfella into branch 'master'. Persist imported VPN connections on disk Otherwise they disappear after a reboot M +1 -1 libs/handler.cpp https://invent.kde.org/plasma/plasma-nm/commit/024035190982ac5957310ef78fbc34b9c51766c2
Git commit d795e92bd12705d0ce506c4ac900b0ccb7bdc69b by Nicolas Fella. Committed on 19/04/2023 at 12:12. Pushed by nicolasfella into branch 'Plasma/5.27'. Persist imported VPN connections on disk Otherwise they disappear after a reboot (cherry picked from commit 024035190982ac5957310ef78fbc34b9c51766c2) M +1 -1 libs/handler.cpp https://invent.kde.org/plasma/plasma-nm/commit/d795e92bd12705d0ce506c4ac900b0ccb7bdc69b
*** Bug 469231 has been marked as a duplicate of this bug. ***