darktable-org / darktable-org/lua-scripts

AutoGrouper is broken for JPEG/RAW pairs

Open
#710 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
219
Forks
142
PR merge metrics
No merged PRs in 30d

Description

In darktable I import both JPEG and RAW into the library. (It is sometimes convenient to compare JPEGs and RAW developments that way.)

Now when I apply Auto group to a selection, the following happens:

  • For the first pair of images of a group, both JPEG and RAW are included, with the first RAW being the group leader. This is expected and what I hoped would happen.
  • For the following images, up to the gap in time signalling the end of the group:
    • The RAW images get added to the group
    • The JPEG images do not get added and remain group-less.

I would like to have all JPEGs and RAWs added to the group.

If I have time I might look into this myself, but that is not likely in the next few weeks. We'll see.

If you need them I can provide a sample burst of images or two.

Contributor guide

No contributing guide indexed for this repository

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 Auto group on a selection containing JPEG/RAW pairs and then locate the Auto group entry point in the lua-scripts repository. Compare how the first pair and following images are handled; done means every JPEG and RAW in the time-bounded group is included.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.