Bug 484084 - Impossible to rename a picture when changing only the case of one letter of its name
Summary: Impossible to rename a picture when changing only the case of one letter of i...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: AdvancedRename-file (other bugs)
Version First Reported In: 8.3.0
Platform: Microsoft Windows Microsoft Windows
: NOR minor
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-20 16:24 UTC by guenael
Modified: 2024-03-20 17:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In: 8.4.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description guenael 2024-03-20 16:24:15 UTC
SUMMARY
Impossible to rename a picture when changing only the case of one letter of its name

STEPS TO REPRODUCE
1. Type F2 after selecting a picture named, say, "picture01.jpg"
2. Try and rename it "Picture01.jpg"  (change only the case of 1 letter)

OBSERVED RESULT
An error panel appears "An error occurred while renaming 1 image" ; it offers to rename it again or overwrite the image. Both solutions fail if you persist to change the case of that precise letter. But if you want to rename it "Aicture.jpg", it works.


EXPECTED RESULT
Image renamed to "Picture01.jpg"

SOFTWARE/OS VERSIONS
Windows 10

ADDITIONAL INFORMATION
It looks like the same issue as bug #311151 but that one happened in 2012, so I feel it more relevant to create a new ticket.
Comment 1 Maik Qualmann 2024-03-20 17:40:44 UTC
Git commit 5137a069a07f9a40a74ddd86a2b67cfe0cc4b27d by Maik Qualmann.
Committed on 20/03/2024 at 17:39.
Pushed by mqualmann into branch 'master'.

fix renaming file in case sensitive action
FIXED-IN: 8.4.0

M  +1    -1    NEWS
M  +3    -15   core/libs/threadimageio/engine/dfileoperations.cpp

https://invent.kde.org/graphics/digikam/-/commit/5137a069a07f9a40a74ddd86a2b67cfe0cc4b27d