Is there an existing issue for this?
Describe the bug
When importing files generated by a mobile phone where one file is named IMG_20260328_113830.jpg and another is named IMG_20260328_113830_1.jpg, darktable incorrectly generates an additional sidecar file named IMG_20260328_113830_01.jpg.xmp.
This leads darktable to display a non-existent duplicate image in the lighttable. This behavior is a regression, as it did not occur in previous versions of darktable.
Darktable creates three XMP files:
IMG_20260328_113830.jpg.xmp
IMG_20260328_113830_1.jpg.xmp
IMG_20260328_113830_01.jpg.xmp (incorrect file generated automatically)
In the lighttable, a duplicate entry appears that was not created by the user. This happens consistently with any files ending in _1.jpg.
Version
darktable 5.6.0
Operating System
[Escriu aquí el teu sistema operatiu: p. ex., Ubuntu 24.04 / Windows 11 / macOS]
Steps to reproduce
- Place two images with the following naming structure in the same folder:
IMG_20260328_113830.jpg
IMG_20260328_113830_1.jpg
- Import the folder/files into darktable.
- Check the file system and darktable lighttable.
Expected behavior
Darktable should import both files as two distinct images, creating only: - IMG_20260328_113830.jpg.xmp - IMG_20260328_113830_1.jpg.xmp
Logfile | Screenshot | Screencast
No response
Commit
No response
Where did you obtain darktable from?
darktable.org / GitHub release
darktable version
darktable 5.6.0
What OS are you using?
Windows
What is the version of your OS?
Windows 11
Describe your system
No response
Are you using OpenCL GPU in darktable?
I dont know
If yes, what is the GPU card and driver?
No response
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response
Is there an existing issue for this?
Describe the bug
When importing files generated by a mobile phone where one file is named
IMG_20260328_113830.jpgand another is namedIMG_20260328_113830_1.jpg, darktable incorrectly generates an additional sidecar file namedIMG_20260328_113830_01.jpg.xmp.This leads darktable to display a non-existent duplicate image in the lighttable. This behavior is a regression, as it did not occur in previous versions of darktable.
Darktable creates three XMP files:
IMG_20260328_113830.jpg.xmpIMG_20260328_113830_1.jpg.xmpIMG_20260328_113830_01.jpg.xmp(incorrect file generated automatically)In the lighttable, a duplicate entry appears that was not created by the user. This happens consistently with any files ending in
_1.jpg.Version
darktable 5.6.0
Operating System
[Escriu aquí el teu sistema operatiu: p. ex., Ubuntu 24.04 / Windows 11 / macOS]
Steps to reproduce
IMG_20260328_113830.jpgIMG_20260328_113830_1.jpgExpected behavior
Darktable should import both files as two distinct images, creating only: -
IMG_20260328_113830.jpg.xmp-IMG_20260328_113830_1.jpg.xmpLogfile | Screenshot | Screencast
No response
Commit
No response
Where did you obtain darktable from?
darktable.org / GitHub release
darktable version
darktable 5.6.0
What OS are you using?
Windows
What is the version of your OS?
Windows 11
Describe your system
No response
Are you using OpenCL GPU in darktable?
I dont know
If yes, what is the GPU card and driver?
No response
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response