NetworkManager applet does not delete keys in gconf when checkboxes are unchecked in OpenVPN settings

Bug #282812 reported by Sergei (Nolar) Vasilyev
2
Affects Status Importance Assigned to Milestone
network-manager-applet (Ubuntu)
New
Undecided
Unassigned

Bug Description

Ubuntu Intrepid Ibex latest (beta, as I suggest).

NetworkManager applet, when configuring OpenVPN settings, does not saves checkboxes that were unset. I.e., when you toggles checkbox ON, and do "OK", it saves value to gconf backend. Later, when you toggle this checkbox OFF, and again do "OK", it does not store this unchecked value and on next window re-opening will show that checkbox toggled ON. Have to go to gconf-editor and to manually delete those keys.

Relates to "Use LZO compression" and "Use TAP ..." checkboxes at least, maybe to others. Maybe also relates to non-openvpn checkboxes (have nothing to check for this, but seems this is just a config saving bug).

$ dpkg-query -l | grep -i network-manager
ii network-manager 0.7~~svn20081008t224042-0ubuntu2 network management framework daemon
ii network-manager-gnome 0.7~~svn20081005t082522-0ubuntu1 network management framework (GNOME frontend
ii network-manager-openvpn 0.7~~svn20081008t224042-0ubuntu1 network management framework (OpenVPN plugin

$ dpkg-query -l | grep -i nm-
ii libnm-glib0 0.7~~svn20081008t224042-0ubuntu2 network management framework (GLib shared li
ii libnm-util0 0.7~~svn20081008t224042-0ubuntu2 network management framework (shared library

Revision history for this message
Sergei (Nolar) Vasilyev (nolar) wrote :

I suggest it is in src/gconf-helpers/gconf-upgrade.c:nm_gconf_0_6_openvpn_settings(). It stores only "yes" values there and does not check them being turned off in checkboxes, so as doesn't reset them to some initial value ("no") in the code. Just guessing.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.