You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional Attributes are sorted by string ascii values, resulting in 10 coming before 2.
This results in strange behavior like the KP2A URL fields in the Browser integration tab being ordered oddly. When adding a 10th Additional URL, the new line will appear after the 1st entry and before the 2nd, not at the end of the list as you'd expect.
Steps to Reproduce
Create 10 "Additional URLs" on an entry.
Note that the 10th is added before the 2nd entry in the list.
Flip to the Advanced tab and see why.
Expected Behavior
10 should appear at the end of the list.
Actual Behavior
10 appears after 1 and before 2.
Context
Note that this also happens in Windows and should happen on every platform.
KeePassXC - Version 2.6.4
Revision: 34a78f0
Distribution: Flatpak
Qt 5.15.2
Debugging mode is disabled.
Operating system: KDE Flatpak runtime (System: Ubuntu 20.04.2 LTS)
CPU architecture: x86_64
Kernel: linux 5.8.0-43-generic
Enabled extensions:
Auto-Type
Browser Integration
SSH Agent
KeeShare (signed and unsigned sharing)
YubiKey
Cryptographic libraries:
libgcrypt 1.8.7
Desktop Env: Gnome
Windowing System: X11
The text was updated successfully, but these errors were encountered:
droidmonkey
changed the title
Sort lists lexicographically (alphanum) rather than ascii
Sort advanced attribute list using locale aware sort
Jun 16, 2021
Overview
Additional Attributes are sorted by string ascii values, resulting in 10 coming before 2.
This results in strange behavior like the KP2A URL fields in the Browser integration tab being ordered oddly. When adding a 10th Additional URL, the new line will appear after the 1st entry and before the 2nd, not at the end of the list as you'd expect.
Steps to Reproduce
Expected Behavior
10 should appear at the end of the list.
Actual Behavior
10 appears after 1 and before 2.
Context
Note that this also happens in Windows and should happen on every platform.
KeePassXC - Version 2.6.4
Revision: 34a78f0
Distribution: Flatpak
Qt 5.15.2
Debugging mode is disabled.
Operating system: KDE Flatpak runtime (System: Ubuntu 20.04.2 LTS)
CPU architecture: x86_64
Kernel: linux 5.8.0-43-generic
Enabled extensions:
Cryptographic libraries:
Desktop Env: Gnome
Windowing System: X11
The text was updated successfully, but these errors were encountered: