Bug 426662

Summary: File naming - extension aware does not work?
Product: [Applications] digikam Reporter: Rob Brown <brownphotographic>
Component: AdvancedRename-fileAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 7.1.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 7.5.0
Sentry Crash Report:

Description Rob Brown 2020-09-18 01:05:37 UTC
SUMMARY
My expectation of 'extension aware' file numbering would be that when selected, if I have a RAW and JPEG pair of files, each file would get the same numeric sequence.

When I check this option, instead each file is given a new number.

Is this the expected result?


STEPS TO REPRODUCE
1. Select a number of images. Go to Item >> rename
2. Enter the format of name in my case I started with a date, then wanted to put a number after it
3. Press Number...
4. Select Extension Aware Naming, press OK
5. The format of the name for batch looks something like: [date:"yyyyMMdd_"]###[e]   .... where the [e} is supposed to represent extension aware.

OBSERVED RESULT
A pair of RAW+JPEG (same image, different file type) has a DIFFERENT unique name. e.g. 
20200810_012.RAF
20200810_013.JPG

EXPECTED RESULT
Files of same image, different type should be like this:
20200810_012.RAF
20200810_012.JPG


SOFTWARE/OS VERSIONS
Linux: 7.1.0 Flatpak (ubuntu)


ADDITIONAL INFORMATION
Comment 1 Rob Brown 2020-09-18 01:06:22 UTC
Related to https://bugs.kde.org/show_bug.cgi?id=246938 ?
Comment 2 Maik Qualmann 2020-09-18 05:51:50 UTC

*** This bug has been marked as a duplicate of bug 398377 ***
Comment 3 Maik Qualmann 2021-11-12 21:33:57 UTC
The [e] parameter works under digiKam-7.4.0 as it is desired with your example. I cannot reproduce a problem, we know that there are many problems with the Flatpak due to the sandbox.

Maik
Comment 4 caulier.gilles 2021-12-15 20:56:45 UTC
Fixed with #398377