https://bugs.kde.org/show_bug.cgi?id=523159
Bug ID: 523159
Summary: Read sidecars without being case-sensitive toward .xmp
extension
Classification: Applications
Product: digikam
Version First 9.1.0
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: DImg-Core
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
When working with a collection on a case-sensitive file system, DigiKam will
fail to load metadata from sidecars with an uppercase .XMP extension. This is a
problem because some programs will specifically prefer this form. In my
experience, most programs will all first attempt to find a sidecar regardless
of case and use what's there before creating an uppercase one.
I think it's fine to prefer the lowercase, but if a file of any case already
exists, use it.
STEPS TO REPRODUCE
1. Mount NFS store (or any case-sensitive volume) and add a collection in it
2. Have an image file IMG_1234.CR2
3. Have an XMP sidecar IMG_1234.XMP (uppercase), make sure it has metadata,
e.g. color label, that is not yet present in your DigiKam DB
4. Use the Item -> Reread Metadata From File menu
5. Observe that the metadata will still not be present in DigiKam
6. Copy or rename the sidecar to IMG_1234.xmp (lowercase)
5. Use the Item -> Reread Metadata From File menu
6. Observe that metadata is now present in DigiKam
OBSERVED RESULT
Metadata is not loaded into DigiKam from uppercase .XMP sidecar
EXPECTED RESULT
Metadata is loaded into DigiKam from uppercase .XMP sidecar
--
You are receiving this mail because:
You are watching all bug changes.