Skip to content

Filtered darkroom browsing broken #20899

@jsmucr

Description

@jsmucr

Is there an existing issue for this?

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

Describe the bug

Darkroom navigation can break when browsing images with a filter turned on. Should the current image get ruled out by a user action (e.g. rejected), the next image is not the one following the removed image but the very first image in the filtered collection.

Steps to reproduce

  1. Start with an empty data dir to rule out your own UI settings.
  2. Import at least 3 images into a new collection.
  3. Right-click the star filter and select all except rejected.
  4. Double-click the first image. Darkroom opens.
  5. (Press Ctrl+Shift+B twice to better appreciate the level of confusion coming. Personally, I keep the filmstrip hidden.)
  6. Press Space to move on to the next image.
  7. Press R to mark that image as rejected.
  8. Press Space to move on to the third image.
  9. Nope. You're back to the first image.

This is especially painful with more than a small amount of images.

Expected behavior

darktable should move on to the next image

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

5.5.0+1106~3b42f13

What OS are you using?

Windows

What is the version of your OS?

10 Pro

Describe your system

No response

Are you using OpenCL GPU in darktable?

None

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

    reproduce: randomthe bug appears more than 30% of times but the causes are still unclearscope: DAMmanaging files, collections, archiving, metadata, etc.scope: UIuser interface and interactions

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions