darktable-org / darktable-org/darktable

Selecting an image on film strip has a noticable (500ms or more?) delay

Open
#19,774 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug: invalid 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

When selecting (= single-clicking) an image in the film strip in darkroom mode, there's a long noticable delay (>500ms) before the image gets its brighter background indicating that its selected. This is not the case for lighttable mode.

It's probably not a performance issue per-se, because darktable is otherwise very fast and snappy and it is indeed faster to double-click an image and have it load than waiting for the selection to update.

Steps to reproduce
  1. Open a film roll with more than one image.
  2. Open an image in darkroom mode.
  3. Click on another image in the film strip and move the mouse away so you can see the selection update.
Expected behavior

The selection should update immediately, as it does in lighttable mode.

Logfile | Screenshot | Screencast

-d common log: foo.log

Commit

No response

Where did you obtain darktable from?

distro packaging

darktable version

5.2.1

What OS are you using?

Linux

What is the version of your OS?

Debian testing

Describe your system

CPU: Intel(R) Core(TM) Ultra 9 185H

               total        used        free      shared  buff/cache   available
Mem:            62Gi        13Gi       7.9Gi       3.5Gi        43Gi        49Gi
Swap:           63Gi       642Mi        63Gi
Are you using OpenCL GPU in darktable?

No

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

Can you reproduce with another darktable version(s)?

Yes, with 5.3.0+888~g0224217809-dirty (recent-ish master, changes are to lua-scripts and rawspeed submodules only).

Is the issue still present using an empty/new config-dir (e.g. start darktable with --configdir "/tmp")?

Yes.

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 delay in darkroom mode with a multi-image film roll, then compare single-click selection behavior with lighttable mode. Use the provided -d common log as context and verify the selection highlight updates immediately without waiting for image loading.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.