Skip to content

Darktable overrides xmp files from already edited pictures when importing #20537

@E1AT1T

Description

@E1AT1T

Is there an existing issue for this?

  • I checked and did not find my issue in the already reported ones

Describe the bug

I edited a picture a while ago (5 months) and wanted to import it again. When I did so, Darktable overrides the xmp file of the image while importing, so there is no more edit history. I was importing only this one image. I checked the option "check for new xmp files on start".
Another thing to add: When trying to load the correct (old) xmp file via "load xmp file" it also gets overwritten.

old_xmp_that_gets_overwritten.txt

Steps to reproduce

  1. Go to "import"
  2. Choose the image
  3. Import it
    -> Darktable overrides the xmp file (its blank, no edit history) as it would be a never edited picture

Expected behavior

Darktable should load the edit history of the already existing xmp file and not override it

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

5.4.1

What OS are you using?

Windows

What is the version of your OS?

Windows 10

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions