GNOME Bugzilla – Bug 651602
Network list mostly unusable with large number of VPN connections
Last modified: 2011-06-08 15:27:30 UTC
With a large number of VPN connections present, the "more" button on the list of wireless networks does not work. The first problem is that the VPN list doesn't collapse like the wireless network list does, so it flows off the end of the screen. This makes it impossible to reach some of the VPN connections from the shell's list. Because the VPN list already fills the screen, the "More" button on the list of wireless networks doesn't have room to expand its list. Users will be unable to see the full extent of either list, and will have to use the "Network" control center applet for many of their network selections.
Created attachment 189085 [details] [review] NetworkMenu: only show 5 connections per device If we have more than 5 (which can happen with VPN connections), place them into a More... submenu, which also becomes scrollable if needed. To protect from race conditions and ordering issues while reading connections, sort them in alphabetic order when the timestamp is equal.
Comment on attachment 189085 [details] [review] NetworkMenu: only show 5 connections per device looks ok, but would it be possible to merge the wifi-specific More... handling in with the new generic More...?
(In reply to comment #2) > (From update of attachment 189085 [details] [review]) > looks ok, but would it be possible to merge the wifi-specific More... handling > in with the new generic More...? Not really. Wifi operates on dev._networks (many-to-many collection of access points and connections), whereas all the rest iterate dev._connections, and they have different semantics wrt automatic connections. They share as much code as possible, I think.
Attachment 189085 [details] pushed as 82648bc - NetworkMenu: only show 5 connections per device