darktable-org / darktable-org/darktable

Lightable - shuffle sorted filmroll: selection of a range of images by mouse skips images

Open
#20,280 1 comment 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

5.5.0~git150.cd56293f-1+13632.1

In lightable view, a filmroll sorted with shuffle, only some of the images get selected by mouse when first and (shift+) last image are clicked upon.

Steps to reproduce
  1. In lightable view
  2. sort filmroll with shuffle
  3. Mouse click on first photo
  4. scroll to bottom and shift+mouse click on last photo

Only some of the photos get selected.

Expected behavior

All photos should be selected

Logfile | Screenshot | Screencast
Image
Commit

No response

Where did you obtain darktable from?

GitHub nightly

darktable version

5.5.0~git150.cd56293f-1+13632.1

What OS are you using?

Linux

What is the version of your OS?

Ubuntu 24.04.3 LTS

Describe your system

No response

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

NVIDIA GeForce RTX 3070 Ti Laptop GPU, 8gb, driver nvidia 580.126.09

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

Likely that the resulting selection is just the images that fall within the range of the first and last selected image under a normal sort.

Custom sort however, sees the correct behaviour for mouse selection, so too should shuffle sort.

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

No source file or test is named. First reproduce the issue in lightable view with shuffle sorting, then trace mouse and shift-click range selection; done means selecting the first and last images selects every image in the shuffled filmroll, while custom sort continues to behave correctly.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.