Bug 217766

Summary: Cannot change file extension in "Rename" dialog
Product: [Applications] digikam Reporter: DGardner <damien>
Component: AdvancedRename-dialogAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: 1.0.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 1.0.0
Sentry Crash Report:

Description DGardner 2009-12-07 21:42:32 UTC
Version:           1.0.0-beta5 (using KDE 4.3.4)
OS:                Linux
Installed from:    Ubuntu Packages

For some reason digiKam's editor started saving JPEG files with a file
extension of ".jpeg" instead of ".jpg" (which was the extension of the
original files). It has stopped doing this now, but, as I didn't really
notice at the time, I now have lots of files with a ".jpeg" extension
that I want to change to have a ".jpg" extension like all of the others.
However, the "Rename" dialog does not allow me to change the full file
name, only the part before the extension.

I had an issue with renaming file outside of digiKam before that cost
me tens of hours of wasted time re-tagging over 2,000 images, so I
don't know if it is safe to just rename the files outside of digiKam.

Surely a "Rename" dialog should allow a file to be "Rename[d]".
Comment 1 caulier.gilles 2009-12-07 21:48:36 UTC
try digiKam 1.0.0 RC

Gilles Caulier
Comment 2 Andi Clemens 2009-12-07 22:14:50 UTC
It is possible if current versions...
Comment 3 DGardner 2009-12-08 11:57:54 UTC
OK, 1.0.0-rc1 has just appeared in Ubuntu's "karmic-backports" repo,
so I'll give that a go and confirm if it's fixed (for me).

Thanks.
Comment 4 Andi Clemens 2009-12-08 20:07:33 UTC
rc1 doesn't have it I guess :D Somehow this commit was lost and I re-applied it after rc1. But the final (coming in 2 weeks?) will have it.
Comment 5 caulier.gilles 2009-12-09 11:44:38 UTC
Yes Andi, Dead Line is 21 december 2009...

Gilles Caulier
Comment 6 DGardner 2009-12-09 21:07:40 UTC
Yeah, I checked rc1 and I cannot edit the extension in a
non-tortuous way. If I want to change "X.jpeg" to "X.jpg",
instead of just deleting the "e", I have to do something
like this:

  X.[ext]{r:"e",""}

Or other combinations of modifiers on the extension.