darktable-org / darktable-org/darktable

Sidecar files are not written when tagging from lighttable

Open
#19,302 13 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

When tagging multiple files from lighttable, sidecar files are not written.
This is quite annoying when tagging a lot of files. One cannot be certain that tags are not lost when copying files to a portable drive for example, or if the database is somehow corrupted.

Steps to reproduce
  1. Go to lighttable and select a few files
  2. Choose a tag to attach in the tagging module
  3. Open the sidecar files in an editor, the tag is not there but it should be.

Choose write sidecar file from the history module for the selected files and the tags will appear in the sidecar file.

Expected behavior

Write the sidecar files immediately when setting a tag from lighttable.

Logfile | Screenshot | Screencast

No response

Commit

Unsure

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

5.2.1

What OS are you using?

Windows

What is the version of your OS?

Windows 10

Describe your system

16GB ram
Interl core i7-7700k
Nvidia geforce gtx 1070

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

Nvidia geforce gtx 1070 8GB Driver version 560.94

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 problem from the lighttable with several selected files, then inspect the lighttable tagging module and compare its behavior with the history module's sidecar-writing action. Done means applying a tag from lighttable immediately writes that tag to each selected file's sidecar file.

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
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.