RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1404663 - NetworkManager vpn list not sorted
Summary: NetworkManager vpn list not sorted
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gnome-shell
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Florian Müllner
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-14 11:47 UTC by Oliver Ilian
Modified: 2017-08-01 22:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-01 22:41:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
ui: Allow moving menu items to a certain position (1.39 KB, patch)
2017-02-13 19:56 UTC, Benjamin Berg
no flags Details | Diff
network: Ensure the connection list is sorted after rename (1.66 KB, patch)
2017-02-13 19:56 UTC, Benjamin Berg
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 778686 0 None None None Never
Red Hat Product Errata RHBA-2017:2098 0 normal SHIPPED_LIVE gnome-shell-extensions, gnome-shell, mutter bug fix and enhancement update 2017-08-01 19:36:42 UTC

Description Oliver Ilian 2016-12-14 11:47:23 UTC
Description of problem:
I am providing 2 rpms with VPN profiles to add them to NetworkManager. Lately we have migrated to another vpn technology, and I had to add new profiles and rename the current one. While doing this, I tried to keep the old configs on the bottom of the list by adding a prefix "x-. After updating the rpms, the list of VPNs was completely unsorted. The only way to get it sorted again, was to either log out and log in again, or to restart the gnome-shell (Alt+F2  -  "r")

Version-Release number of selected component (if applicable):
gnome-shell-3.14.4-53.el7.x86_64

Steps to Reproduce:
1. add several VPN configs
2. rename a VPN config at the bottom and add "A - " in front of the name so it should show up on top of the list
3.

Actual results:
VPN config shows up at the previous position (at the bottom of the list) until you restart the gnome shell

Expected results:
List should always be sorted in alphabetic order, even after rename

Additional info:

Comment 2 Benjamin Berg 2017-02-13 19:56:23 UTC
Created attachment 1250025 [details]
ui: Allow moving menu items to a certain position

This function is a helper to simplify keeping menu items ordered when
their order is updated on the fly (e.g. network connections being
renamed).

Comment 3 Benjamin Berg 2017-02-13 19:56:27 UTC
Created attachment 1250026 [details]
network: Ensure the connection list is sorted after rename

Items were inserted correctly but the synchronisation was lost if the
name of a connection was changed. Simply making sure the position is
correct after a connection is updated fixes the issue.

Reported-by: Oliver Haessler <ohaessle>

Comment 4 Benjamin Berg 2017-02-15 21:53:22 UTC
The above patches are now upstream and will find their way into 3.24. My guess is that Oliver would like to see them in RHEL 7.4.

Comment 5 Florian Müllner 2017-02-16 13:07:57 UTC
(In reply to Benjamin Berg from comment #4)
> The above patches are now upstream and will find their way into 3.24. My
> guess is that Oliver would like to see them in RHEL 7.4.

Fine with me.

Comment 7 Bohdan Milar 2017-06-20 10:29:37 UTC
Tested manually on
gnome-shell-3.22.3-16.el7.x86_64
gnome-shell-3.22.3-15.el7.aarch64
gnome-shell-3.22.3-15.el7.ppc64le
using the reproducer from Description.

After a VPN was renamed, its position in the VPN list (in Gnome system panel) was changed to keep the alphabetical order.

Comment 8 errata-xmlrpc 2017-08-01 22:41:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:2098


Note You need to log in before you can comment on or make changes to this bug.