Skip to content

AutoGrouper is broken for JPEG/RAW pairs #710

Open

Description

@mreiger

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.

Activity

  1. wpferguson commented on Aug 11, 2026

    @wpferguson
    Member

    What happens if you ungroup the RAW+JPEG pairs before running AutoGrouper? I'm thinking that "breaking" the RAW+JPEG pair may cause confusion.

  2. wpferguson commented on Aug 12, 2026

    @wpferguson
    Member

    I imported a bunch of RAW+JPEG pairs then turned AutoGrouper loose on them. Most of the groups worked OK and consisted of the RAWs and the JPEGs. Some missed the first JPEG (the one that was originally grouped with the group leader). So, something is going on but it may be somewhat random.

  3. mreiger commented on Aug 13, 2026

    @mreiger
    ContributorAuthor

    Ah; ungrouping before running AutoGrouper got all the RAWs and JPEGs into the group. So it looks like (for me) it is working correctly when I first ungroup the images.

    Unfortunately it puts the first JPEG as group leader, not the RAW.
    Which can then be fixed with the "change group leader" script. It also works for groups with more than one JPEG+RAW pair.

    These three steps - ungroup, autogroup, change leader to RAW on the same selection - give me a workaround I can live with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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