Bug 408782 - In manual sorting, bad placement after new version creation.
Summary: In manual sorting, bad placement after new version creation.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Thumbs-Album (other bugs)
Version First Reported In: 6.1.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-16 14:30 UTC by Alexandre Belz
Modified: 2019-06-18 06:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.2.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Belz 2019-06-16 14:30:01 UTC
SUMMARY
New picture is badly placed.

STEPS TO REPRODUCE
1. in the Thumbnail view
2. Set an album in Manual item ordering
3. chose a picture inside an album
4. Edit the picture, and Save as a new file
5. Close the editor and go back in the Thumbnail album viewer.

OBSERVED RESULT
the new picture is NOT located near the original, but somewhere at the top of the album. This is not logical.


EXPECTED RESULT
The newly Edited picture should be located next to the original picture.

SOFTWARE/OS VERSIONS
Windows: Windows 10

ADDITIONAL INFORMATION
Manual sorting is usefull to order the Album in a logical/narrative order.
Comment 1 Maik Qualmann 2019-06-16 14:53:17 UTC
It will be difficult to find a common denominator here, the new item has not yet undergone manual sorting and the current fallback is the creation date due to this bug 408095. Fallback by filename would definitely be the better choice.

Maik
Comment 2 Alexandre Belz 2019-06-16 17:07:38 UTC
Ok Maik,
Before going back to filename sorting, i need to keep current ordering of my album.
is there a way to rename the pictures of an album in increasing filename ?
(I give the root name and the the program adds an increasing value).
Comment 3 Maik Qualmann 2019-06-16 19:43:21 UTC
select files-> Rename (F2)-> type: newName-####

Maik
Comment 4 Maik Qualmann 2019-06-16 19:45:29 UTC
To keep the name: [file]-####

Maik
Comment 5 Alexandre Belz 2019-06-17 21:18:54 UTC
OK, thank you Maik, the rename menu is indeed very powerful.
Good ! 
I'll easily move to filename ordering .

You can close this bug if Digikam team can't improve manual sorting capabilities.
Comment 6 Maik Qualmann 2019-06-18 06:07:36 UTC
Git commit 2b8c901f728bf92e31050e904cc7775dbb267470 by Maik Qualmann.
Committed on 18/06/2019 at 06:06.
Pushed by mqualmann into branch 'master'.

add two manual sort options, fallback as name or date
Related: bug 408095
FIXED-IN: 6.2.0

M  +2    -1    NEWS
M  +3    -1    core/app/dragdrop/itemdragdrop.cpp
M  +34   -31   core/app/main/digikamapp_setup.cpp
M  +19   -5    core/libs/database/models/itemsortsettings.cpp
M  +4    -7    core/libs/database/models/itemsortsettings.h

https://invent.kde.org/kde/digikam/commit/2b8c901f728bf92e31050e904cc7775dbb267470