Bug 377589

Summary: Tag-values are unsorted in the "Information Panel" of Dolphin. (Probably also Baloo related)
Product: [Frameworks and Libraries] baloo-widgets Reporter: funkybomber
Component: generalAssignee: Pinak Ahuja <pinak.ahuja>
Status: RESOLVED FIXED    
Severity: normal CC: elvis.angelaccio, simonandric5
Priority: NOR    
Version: 15.12.2   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In: 17.04.1
Sentry Crash Report:
Attachments: Adding emphasis on where the problem is.

Description funkybomber 2017-03-14 01:45:47 UTC
Created attachment 104549 [details]
Adding emphasis on where the problem is.

The tag-values in the "Information Panel" of Dolphin appear in the order they were inserted.
They would be way more useful if they were sorted alphabetically. 
As it is now, if a file contains many tag-values, it is very difficult for the user to spot the one he wants to click on. 

Here's something I noticed that might help:

When a tag is added to a file then for a small period of time the tag-values in the Information Panel are sorted alphabetically. But when I refresh the window, then they become unsorted again.
Comment 1 Elvis Angelaccio 2017-04-29 11:03:49 UTC
Git commit 65467d80198b222e4f01b40004a73f888fb5a82b by Elvis Angelaccio, on behalf of Athanasios Kanellopoulos.
Committed on 29/04/2017 at 10:59.
Pushed by elvisangelaccio into branch 'Applications/17.04'.

Sort the tag-values alphabetically in the "Tags" column

Up until now tag-values have appeared unsorted in the Tags column
when the selected View Mode is "Details".
In older versions of Dolphin (in KDE4) the tags-values were
alphabetically sorted in the Tags column, which means that back then
this was the desired behavior.
This commit restores this functionality.
FIXED-IN: 17.04.1
REVIEW: 130068

M  +6    -1    src/kitemviews/private/kbaloorolesprovider.cpp
M  +1    -0    src/kitemviews/private/kbaloorolesprovider.h

https://commits.kde.org/dolphin/65467d80198b222e4f01b40004a73f888fb5a82b
Comment 2 funkybomber 2017-04-29 11:28:28 UTC
The above commit "65467d8019" seems to fix a similar problem (alphabetical tag-values sorting in the "Tags" column), but it is not exactly the same problem we are discussing here.

The bug I opened here is regarding the tag-values in the "Information Panel" of Dolphin. Please check the attachment screenshot.

I will set the status for this bug, back to "UNCONFIRMED" since it is not yet resolved.
Comment 3 Elvis Angelaccio 2017-04-29 15:34:47 UTC
Oh you are right, sorry. Now I remember why I had moved this report to baloowidgets ;)
Comment 4 Elvis Angelaccio 2017-04-29 16:02:24 UTC
Git commit 995e4b49c8139de14b8a98a562f5b959a972f5c4 by Elvis Angelaccio.
Committed on 29/04/2017 at 16:01.
Pushed by elvisangelaccio into branch 'Applications/17.04'.

Sort tags alphabetically in the metadata widget
FIXED-IN: 17.04.1

M  +4    -0    src/widgetfactory.cpp

https://commits.kde.org/baloo-widgets/995e4b49c8139de14b8a98a562f5b959a972f5c4