Bug 385433 - Error file numbering
Summary: Error file numbering
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: AdvancedRename-BatchQueueManager (show other bugs)
Version: 5.5.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-06 08:12 UTC by vikstranger
Modified: 2017-10-07 05:48 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vikstranger 2017-10-06 08:12:44 UTC
Hello,

How to reproduce:

1. Choose folder with 110 or more files, and add in in new queue.
2. In Queue manager to rename files using mask: [dir] ### 
3. Run queue
4. Add 10 files to this folder, choose it and add in new queue. 
5. Click on Numbers (Qty) button and try to set:
   Numbers: 3
   Begin: 110
   Step: 1

It doesn't allows to set start number more than 99. If I agree and runs queue all exist files (100-110 numbers) will be replaced.

The same issue if I try just rename part files in folder with exist files.

Thank you!
Comment 1 Maik Qualmann 2017-10-06 10:35:23 UTC
The BQM is not intended for easy renaming of files. For this, there are context menu-> Rename or (F2). It is also possible to set-up in the BQM whether files are overwritten or save as new file with a counter. Yes, the starting value should allow more than 99, this error I will fix. But you can change the ###[99] value in the input line to any value. The dialog via (F2) checks in the version > 5.6.0 whether files with the name already exist and then blocks the rename.

Maik
Comment 2 vikstranger 2017-10-06 13:53:11 UTC
Hello Maik,

Thank you for your quick answer.

Yes, I use context menu-> Rename or (F2) also. Issue with qty exist and here.  Usually I've used BQM for few task: to change image size and rename it. It's great works for all files, but provide some difficulty if I will add new images and try to work with it. So, I'm notified about this.

Thank you for your help and have a great day. You can close this ticket.
Comment 3 Maik Qualmann 2017-10-07 05:48:28 UTC
Git commit e6fe7459a6ec13ab26f5c2c90325947008901025 by Maik Qualmann.
Committed on 07/10/2017 at 05:46.
Pushed by mqualmann into branch 'master'.

increased maximum values for start and step in file numbering dialog
FIXED-IN: 5.8.0

M  +2    -1    NEWS
M  +13   -9    utilities/advancedrename/parser/options/sequencenumberoptiondialogwidget.ui

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