Skip to content

Grouping images sometimes joins the grouped images into the previously edited image group #19693

@codecrusher64

Description

@codecrusher64

Is there an existing issue for this?

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

Describe the bug

Sometimes, when creating several image groups one after another, the last created group is joined into the previously created group.

Steps to reproduce

  1. Open a collection of ungrouped images in lighttable.
  2. Disable image grouping in the top panel.
  3. Select some images.
  4. Group the selected images by clicking the “group” button in the actions on selection module, or by pressing Ctrl+G (see image grouping).
  5. Change the group leader to edit the newly created group.
  6. Select some other ungrouped images.
  7. Group the selected images in the same way as in step 4.

Now the images selected in step 3 and the images selected in step 6 are all joined into the same image group.

This bug does not occur if step 5 is omitted.

Expected behavior

The images selected in step 6 should be in a different group than the images selected in step 3.

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

distro packaging

darktable version

5.0.1

What OS are you using?

Linux

What is the version of your OS?

Ubuntu 25.04

Describe your system

No response

Are you using OpenCL GPU in darktable?

I dont know

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

    scope: DAMmanaging files, collections, archiving, metadata, etc.scope: UIuser interface and interactions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions