Bug 202532 - Wrong rename sequence when downloading
Summary: Wrong rename sequence when downloading
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: AdvancedRename-Import (show other bugs)
Version: 1.0.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-05 00:11 UTC by Andrzej
Modified: 2017-08-16 05:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrzej 2009-08-05 00:11:15 UTC
Version:           1.0.0-beta3 (rev.: wyeksportowane) (using 4.2.4 (KDE 4.2.4), volkerdi@slackware.com)
Compiler:          gcc
OS:                Linux (i686) release 2.6.28.10

When I download photos and try to rename them then:

when photos are selected rename sequence is OK:
- with "Show last foto first" on
dscn0009.jpg -> new0003.jpg
dscn0008.jpg -> new0002.jpg
dscn0007.jpg -> new0001.jpg

- with "Show last foto first" off
dscn0001.jpg -> new0001.jpg
dscn0002.jpg -> new0002.jpg
dscn0003.jpg -> new0003.jpg

when photos are not selected rename sequence is only OK with "Show last foto first" on
dscn0009.jpg -> new0009.jpg
dscn0008.jpg -> new0008.jpg
...
dscn0002.jpg -> new0002.jpg
dscn0001.jpg -> new0001.jpg


- with "Show last foto first" off the rename sequence is wrong:
dscn0001.jpg -> new0009.jpg
dscn0002.jpg -> new0008.jpg
...
dscn0008.jpg -> new0002.jpg
dscn0009.jpg -> new0001.jpg


regards

Andrzej
Comment 1 caulier.gilles 2009-08-15 11:08:46 UTC
I think it's fixed in current code from svn by Marcel (1.0.0-beta4). Please try again...

Gilles Caulier
Comment 2 Andi Clemens 2009-08-15 11:15:57 UTC
I can confirm this, also the rename sequence seems to be different when I select all thumbs (CTRL+A)...
So just clicking in the icon view of the CameraUI displays a different sequence then selecting all thumbs.
Comment 3 Andi Clemens 2009-08-18 14:11:57 UTC
I have committed a patch that should fix this (if it is not removed again, I just deleted a lot of code ;-))... but I guess it should be fine and therefore resolve this bug.

Gilles,
please take a look at commit #1012930

Andi
Comment 4 caulier.gilles 2009-08-18 14:41:28 UTC
Andi, 

Now number sequence is always applied to whole icon view items. If user take selection nothing change...

The workflow will be different now. It impossible to make a sequence ordered by selection only. This is not a problem for me, but i remember an old B.K.O entry which ask for this feature.

Marcel, what do you think about ?

Gilles
Comment 5 Andi Clemens 2009-08-18 14:46:14 UTC
Ah ok I understand... hmmm but the rest was buggy. Maybe I'll find another way to fix the other issues...
Comment 6 Andi Clemens 2009-08-18 15:23:29 UTC
I reverted the patch again and only fixed the main problem described here.
I will close this one now.