Bug 375474 - Renaming People Tag Causes Unpredictable Sort Order In People Menu
Summary: Renaming People Tag Causes Unpredictable Sort Order In People Menu
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Workflow (show other bugs)
Version: 6.1.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-23 21:38 UTC by hardy.public
Modified: 2019-03-09 17:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.1.0


Attachments
Before rename. (10.43 KB, image/png)
2017-12-09 17:42 UTC, hardy.public
Details
After rename. (9.22 KB, image/png)
2017-12-09 17:43 UTC, hardy.public
Details
After reversing rename (10.81 KB, image/png)
2017-12-10 10:00 UTC, hardy.public
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hardy.public 2017-01-23 21:38:09 UTC
In People Tags, right clicking then renaming in the Properties dialogue causes a semi random sort order.

If I have the following to start with:

Albert
Annie F
Arnold H
:
Zoe

Then right-click -> Properties then rename "Annie F" to "Annie A", the sort order in People Tags might be:

Albert
Arnold H
Annie A
:
Zoe

Note the placement of Annie appears semi-random. If I repeat the test, sometimes Annie A appears after Zoe.

Albert
Arnold H
:
Zoe
Annie A

Also note that opening the Tag Manager does not have the problem.

The correct order is restored if I restart DigiKam to


Albert
Annie A
Arnold H
:
Zoe
Comment 1 Maik Qualmann 2017-01-23 22:03:15 UTC
The problem is not reproducible here. Your other bug report was for Windows, this bug too?

Maik
Comment 2 hardy.public 2017-01-23 22:08:56 UTC
 Sorry, I forgot to select the correct platform. Yes it was for Windows.
Comment 3 caulier.gilles 2017-12-09 17:16:51 UTC
This problem still reproducible with current 5.8.0 - pre-release Windows bundle
available here :

https://files.kde.org/digikam/

Gilles Caulier
Comment 4 hardy.public 2017-12-09 17:42:33 UTC
Yes, still there. Example of Albert renamed to Alberto attached.
Comment 5 hardy.public 2017-12-09 17:42:49 UTC
Created attachment 109273 [details]
Before rename.
Comment 6 hardy.public 2017-12-09 17:43:09 UTC
Created attachment 109274 [details]
After rename.
Comment 7 hardy.public 2017-12-10 10:00:56 UTC
Created attachment 109286 [details]
After reversing rename

After renaming Alberto back to original name Albert.
Comment 8 hardy.public 2017-12-10 10:04:35 UTC
I noticed that the order is correct in Tag Manager and in Filters side menu. It seems the problem is confined to the People side menu only.
Comment 9 hardy.public 2019-03-09 10:54:01 UTC
i386 AppImage has this problem.
Comment 10 Maik Qualmann 2019-03-09 17:05:20 UTC
Git commit ddf3db1d59380b29fbcb937e47384a70f01575c5 by Maik Qualmann.
Committed on 09/03/2019 at 17:04.
Pushed by mqualmann into branch 'master'.

fix sorting of the people tag view after rename name
FIXED-IN: 6.1.0

M  +2    -2    NEWS
M  +2    -0    core/libs/models/albumfiltermodel.cpp

https://commits.kde.org/digikam/ddf3db1d59380b29fbcb937e47384a70f01575c5