Skip to content

Fresh Darktable creates and shows internal tags (darktable|*) after import but not after restart and further imports afterwards #21712

Description

@lazypingu

Is there an existing issue for this?

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

Describe the bug

If I import images on a fresh Darktable (no config, no database, no library), I see that some internal Dartable tags were created.

In the logs I see:

[xmp_import] creating tag: darktable|exported
[xmp_import] creating tag: darktable|format|nef
[xmp_import] creating tag: darktable|changed

This reflects the imported images as some of them have xmp files and were already exported.

These tags are also visible in the lightroom view. As a tag symbol on every picture and in the tagging section (independently of the hidden tag toggle).

The internal tags will also be added to the sidecar xmp files (I guess this is expected).

If I restart Darktable, the internal tags are no longer visible in the lightroom view anymore.

If I then e.g. remove the imported collection and re-import the images, the tags are not shown or added to the xmp files.

This seems to only happens for me on a clean install and only on the first import.

If "after edit" was selected on storage this will lead to xmp files for every imported image (due to the internal tags). The second import would then remove the xmp files again if "after edit" is still in place.

Steps to reproduce

  1. Start a fresh Darktable instance (no config, no database, no library)
  2. Import images
  3. Check if internal tags are visible in lightroom view
  4. Restart Darktable
  5. Check if internal tags are visible in the lightroom view

Execute the same steps again but change xmp storage to "after edit" and check the generated xmp files.

Expected behavior

I'm not sure if this is an intended behavior or if I'm doing something wrong here. I wanted to use "after edit" to avoid having xmp files for not edited images. But with this happening there are generated due to the created internal tags.

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

distro packaging

darktable version

5.6.0 (also tested with darktable 5.7.0+219~g4a8a1cfd90 [linux])

What OS are you using?

Linux

What is the version of your OS?

Gentoo

Describe your system

No response

Are you using OpenCL GPU in darktable?

None

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

    priority: lowcore features work as expected, only secondary/optional features don'treproduce: peculiarthe bug seems to affect only a specific target and cannot be reproduced elsewherescope: DAMmanaging files, collections, archiving, metadata, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions