GNOME Bugzilla – Bug 740227
network: properly remove connections from list
Last modified: 2014-11-26 21:17:16 UTC
Due to a typo we were always removing the first (index 0) connection from the global list of connections instead of the correct one. This resulted in some connections remaining in the shell's connection list long after they were removed. In particular, this resulted in multiple copies of a bluetooth connection appearing after suspend/resume (when the device was readded and the cached connection list was rescanned).
Created attachment 290818 [details] [review] network: properly remove connections from list
Review of attachment 290818 [details] [review]: Whoops, nice catch.
Attachment 290818 [details] pushed as 3d4408d - network: properly remove connections from list
FWIW, this bug is in 3.12 too, and it can cause gnome-shell to crash when you restart NetworkManager or add a new network device. Eg, in F20: connect to VPN, disconnect from VPN, plug in WWAN dongle, boom!
A backport might indeed be nice from the standpoint of getting this into various distro releases...
Cherry-picked to gnome-3-12 and gnome-3-10
Also to gnome-3-14 now.