darktable-org / darktable-org/darktable

Duplicate Manager: the first double click on a thumb does not switch to this image

Open
#22,284 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug: regression gtk4
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

With 5.6.1 and before, if in duplicate manager you double click on a thumb, this image is loaded for editing. With current master, the first double click has no effect, the second one switches the image.

Say you have an image with two duplicates (A and B).

  • from lighttable open, say, A
  • A is shown on the canvas
  • in duplicate manager, double click on B -> nothing happens
  • double click on B again -> image switches to B
  • double click on A -> nothing happens
  • double click on A again -> image switches to A
    ... and so on.

Note: if, in the above scenario, you substitute the first double click on a thumb by a single click, the next double click switches the image. Consequently, a triple click also immediately switches (which is my current work around).

Steps to reproduce

see above

Expected behavior

No response

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

self compiled

darktable version

5.7.0+889~g40e4660830

What OS are you using?

Linux

What is the version of your OS?

Fedora 44, wayland

Describe your system

No response

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

issue independent of openCL

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

No response

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

Start by reproducing the issue in darktable's duplicate manager using the A/B sequence described in the report, then trace the thumbnail click and double-click handling. Done means the first double click on a different duplicate switches to that image, without requiring a second click; verify the existing single-click and triple-click behavior as well.

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
Active
Clarity
Mostly clear
Newbie friendliness
66/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.