Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
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:
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).
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>
(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.
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.
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