Bug 489152 - Tags in Add/Edit Tags window are not automatically sorted
Summary: Tags in Add/Edit Tags window are not automatically sorted
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.05.1
Platform: NixOS Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-25 01:16 UTC by m1vri31c
Modified: 2024-07-01 17:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description m1vri31c 2024-06-25 01:16:23 UTC
SUMMARY
Tags in Add/Edit Tags menu (accessed via clicking Add… or Edit… in Info Panel) are not automatically sorted. I vaguely remember them being sorted alphabetically in the past, but I am questioning my memory, so this is part bug report part feature request. 

Tags in that window should be sorted in some way. Alphabetical is an obvious choice, with popularity/number of times used another useful way to sort tags. This would apply recursively to different levels of tags.

STEPS TO REPRODUCE
1. Make sure you have multiple tags
2. Open the Add/Edit Tags window via the Info Panel
Note on reproducibility: I added most of my tags in Plasma 5, and due to bug 488588 I can't add new tags to be sorted in this window to test that.

OBSERVED RESULT
Tags are not sorted. Some chunks of the list seem like they are sorted alphabetically but many tags are not.

EXPECTED RESULT
Tags are sorted, preferably in a manner chosen by user, e.g. alphabetical or by popularity.

SOFTWARE/OS VERSIONS
NixOS 24.11 (unstable channel)
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0 
Qt Version: 6.7.1
Comment 1 TraceyC 2024-07-01 17:26:51 UTC
Looks like this was implemented in https://bugs.kde.org/show_bug.cgi?id=152600 in v 16.12.2

I am able to reproduce the bug with Plasma 6. I only had one tag I had created with Plasma 5 "kitinerary"
I then created 3 new tags "a", "epub", "plasma". All those are sorted alphabetically but before "kitinerary"
Any new tags after that were sorted in the Edit Tags window alphabetically - except "kitinerary" which remains at the bottom

Operating System: Solus 4.5
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2