darktable-org / darktable-org/darktable

Color label not written to sidecars

Open
#19,761 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

no-issue-activity
Dominant language
C
Stars
13.1k
Forks
1.4k
Avg merge
22h 14m
Merged PRs (30d)
198

Description

Is there an existing issue for this?
  • I checked and did not find my issue in the already reported ones
Describe the bug

I just labeled 700+ files with star ratings and color labels.
Now I find DT did not write the color label to a single file.
I don't know how to reproduce

Steps to reproduce

Go to light table
Color label an image

XMP file has a line "xmp:Label="NoColor" " Which is incorrect because it does have a color.

Close and re-open DT.
The image has the correct color label but it's not in the sidecar file.
The rating is in the sidecar.

Expected behavior

Write the correct color label to the sidecar

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

5.2.0

What OS are you using?

Linux

What is the version of your OS?

Mint

Describe your system

No response

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

not relevant but it's the intel CPU

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the report in darktable 5.2.0 on Linux Mint: color-label an image in the light table, inspect its XMP sidecar, then close and reopen darktable. Done means the sidecar contains the correct color label instead of xmp:Label="NoColor", while the label remains correct after reopening.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.