Changes to numeric fields when editing a Wireguard connection are not saved
Relevant information
-
GNOME Settings version: 44.3
-
Operating system (distribution): Arch Linux
-
Error message: Not applicable
-
Backtrace (if you are experiencing a crash): Not applicable
-
Screenshots:
Steps to reproduce:
- Open GNOME settings.
- Edit an existing WireGuard connection (but same thing can be observed when you add a new WireGuard configuration).
- In its configuration, try to change a numeric field, like "Listen Port", to another value using keyboard input.
- Press "Enter" after you finish editing the field.
- Click "Save".
- Re-open the settings for the previously edited connection, check the value of previously edited numeric field.
As you can see in the above GIF recorded through Peek, VPN Helper will discard any changes made to the numeric field, even if you press "Enter" after you finish or switch to another numeric field. But I personally expect the value to be saved without doing either. This seemingly appears to only affect the VPN helper, as I tried editing the MTU value for my Ethernet connection (also a numeric field) in Gnome Control Center and i could not reproduce this issue with it. Curiously, if you try to follow the reproduction steps, but after Step 4 you press the plus "+" and then the minus "-" buttons next to the field to increase the newly changed numeric value by 1 and then decrease back by 1, and THEN hit "Save", the value will be saved. You can observe it in this GIF: