[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [digikam] [Bug 314441] Rename settings and auto-rotation while importing ignored [patch]
From:       Peter Albrecht <px79 () crazymonkeys ! de>
Date:       2014-09-01 20:16:14
Message-ID: bug-314441-17878-9qSReppfaX () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=314441

--- Comment #78 from Peter Albrecht <px79@crazymonkeys.de> ---
(In reply to rockhopper.tux from comment #76)
> ...
> [date]{lower} will not set the .JPG extension to lower case - don't know if
> it should but I would expect it actually.

I read your pattern like: 
1) take the pictures date as string
2) convert the date string to lowercase
3) since there is no explicit extension in your pattern, the original files
extension is added, which seems to be uppercase (like in my case)

A modifier only modifies the string immediately in front of it. So from my
point of view, not changing the extension seems to be correct.
Implementing some intelligent magic like "if everything in the pattern is
lowercase, the default added extension should be lowercase, too", would make
the powerful renaming algorithm way more complex, more diffucult to maintain
and more prone to errors, I guess.
(And I personally don't like programs which _try_ to be smart and do something
I did not expect.)
Of course, this is only my opinion and free for discussion.

You can achieve, what you want with:
     [date]{lower}.[ext]{lower}

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic