Bug 1404665

Summary: NetworkManager does not sort the list of VPNs in GUI
Product: Red Hat Enterprise Linux 7 Reporter: Oliver Ilian <oliver>
Component: control-centerAssignee: Carlos Garnacho <cgarnach>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: atragler, bberg, bgalvani, fgiudici, lrintel, rkhan, sukulkar, thaller
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-15 07:29:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
network: Re-render the title whenever it changes
none
network: Include the network name in the sort string none

Description Oliver Ilian 2016-12-14 11:51:54 UTC
Description of problem:
When you add several VPNs in NetworkManager, the list of VPNs is not sorted by alphabet.

Version-Release number of selected component (if applicable):
NetworkManager-1.4.0-12.el7.x86_64

How reproducible:


Steps to Reproduce:
1. add several VPNs sorted by letter to NetworkManager
2. rename a Profile in the GUI by adding "A - " as prefix to make it sorted at the end
3. 

Actual results:
The profile is still listed at the same position it was before

Expected results:
Profiles should be always sorted alphabetically.

Additional info:

Comment 2 Thomas Haller 2016-12-14 13:22:39 UTC
Hi. Where are you looking at?

in nm-connection-editor they are by default sorted by the "Last Used" column. But you click on the "Name" column header, the sorting is changed to sort by name instead.

I assume you look at gnome-control-center(?).

Reassigning.

Comment 3 Benjamin Berg 2017-02-14 10:21:52 UTC
Created attachment 1250165 [details]
network: Re-render the title whenever it changes

The title of network connections may change if the user edits it or if
it was changed programatically by another program. This worked fine, but
the UI was not updated. This patch ensures network list in the UI is
updated.

Reported-by: Oliver Haessler <ohaessle>

Comment 4 Benjamin Berg 2017-02-14 10:22:00 UTC
Created attachment 1250166 [details]
network: Include the network name in the sort string

The list of networks is sorted by connection type. If a user has e.g. a
lot of VPN connections, then the unsorted list is hard to browse.
So include the name of the network connection in the sort string and
update it whenever the title changes.

Reported-by: Oliver Haessler <ohaessle>

Comment 5 Bastien Nocera 2017-02-15 10:31:32 UTC
Patches need to be merged upstream first.

Comment 6 Oliver Ilian 2018-02-08 09:11:14 UTC
Ok, I tried this on RHEL 7.5, and I can see now that the list of VPNs is sorted in the top right corner menu. However it is still not sorted in the gnome-settings menu (under Networks). Is it planned to sort it there as well?

Thanks
Oliver

Comment 8 Oliver Ilian 2018-04-23 11:41:34 UTC
Do we have any update on this bug?

Comment 9 Benjamin Berg 2018-04-23 12:24:06 UTC
With the redesign of the panel, upstream has regressed. So this will need to be fixed again upstream.

Comment 10 Oliver Ilian 2019-09-10 13:22:41 UTC
Is there any plan to fix that in RHEL 7 or 8?

Comment 12 RHEL Program Management 2021-01-15 07:29:17 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.