Bug 458746 - Apply button doesn't become active after editing wireguard connection
Summary: Apply button doesn't become active after editing wireguard connection
Status: RESOLVED DUPLICATE of bug 457041
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_networkmanagement (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-05 14:03 UTC by gudvinr+kde
Modified: 2024-12-23 18:27 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gudvinr+kde 2022-09-05 14:03:48 UTC
SUMMARY
When you make edits to wireguard connection, apply button is grayed out.

It doesn't happen with L2TP and OpenVPN connections.

If I edit same connection through "nmcli edit <connection>" I can successfully set parameters and save connection.

I can create connection from scratch too.

Doesn't matter what I edit. At least "auto-connect" checkbox, connection name, password and adding/removing peers don't trigger apply button active state.


SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Graphics Platform: Wayland
Comment 1 Bernie Innocenti 2023-07-20 06:40:01 UTC
 Still present on Fedora Rawhide with Plasma 2.27.6 and KF 5.108.0.

These WireGuard connections were imported from .conf files, and have a mysterious "-" in the IPv4 Search Domains field (but not in the corresponding IPv6 page).

Moreover, the importer set the "Connect automatically" flag on all connections, leading to multiple nested VPNs when you login.
Comment 2 Bernie Innocenti 2023-07-20 06:58:37 UTC
I figured out that the problem occurs when importing a WireGuard conf file with IPv6 routes (Interface / Address contains IPv6 routes).

In this case, IPv6 / Method is switched to Manual, but the address list remains empty. Moreover, the Address listview does not become red to bring attention to the form validation error.
Comment 3 gudvinr+kde 2023-07-21 13:42:19 UTC
Can confirm. If you switch to IPv6 method=ignored, it works.
Comment 4 Antti Savolainen 2023-11-28 07:52:09 UTC
I noticed that the apply button appears every second time the menu is viewed.
Demonstrative video: https://youtu.be/McEqA54A35o
Comment 5 Malte S. Stretz 2024-08-25 14:07:36 UTC
*** This bug has been marked as a duplicate of bug 457041 ***