darktable-org / darktable-org/darktable
Wrong image index / total numbers while culling
Nobody has claimed this yet.
- 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
This bug is regarding the image index / total numbers displayed at the top of the lighttable and darkroom views.
The bug is that the numbers do not get updated while culling.
Looking at an image in a collection, I see this at the top: 1 image (# 8) selected of 549
Expected result: While culling in Lighttable, the # 8 gets updated as I move forward / backward with the arrow keys.
Actual result: The number does not get updated until I click on an image in the filmstrip.
Hopefully this is not a duplicated report, I've searched and the only related one that I found is #21242, but that's about the user not seeing the label in the UI.
Steps to reproduce
- Open Lighttable view and load a collection
- Enter Culling mode by clicking the [X|Y] icon under the main view, or by hitting x on the keyboard
- Note the numbers above the image in the label that says "1 Image (
# 1) selected of 549" - Hit the right arrow on the keyboard to advance to the next image(s) or left arrow to go to the previous image
Expected behavior
daktable should update the numbers at the top of the screen, incrementing/decrementing the current-image-index (# 1 to # 2 to # 3 and so on)
Logfile | Screenshot | Screencast
Commit
No response
Where did you obtain darktable from?
distro packaging
darktable version
5.6.0
What OS are you using?
Linux
What is the version of your OS?
CachyOS
Describe your system
OS: CachyOS x86_64
Host: ZenBook Pro Duo UX582HS_UX582HS (1.0)
Kernel: Linux 7.1.4-1-cachyos
DE: KDE Plasma 6.7.3
WM: KWin (Wayland)
Display (SDC415F): 3840x2160 @ 1.9x in 16", 60 Hz [Built-in] *
Display (BOE085F): 3840x1100 @ 1.4x in 14", 60 Hz [External]
CPU: 11th Gen Intel(R) Core(TM) i9-11900H (16) @ 4.90 GHz
RAM: 32 GB
GPU 1: NVIDIA GeForce RTX 3080 Mobile / Max-Q 8GB/16GB [Discrete]
GPU 2: Intel UHD Graphics @ 1.45 GHz [Integrated]
Disk: 2TB, SSD, btrfs
Are you using OpenCL GPU in darktable?
I dont know
If yes, what is the GPU card and driver?
NVIDIA GeForce RTX 3080 Mobile / Max-Q 8GB/16GB [Discrete]
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in darktable's Lighttable view by entering Culling mode and navigating with the arrow keys. Trace the culling navigation and the UI code that displays the selected image index; done means the index updates on every forward or backward navigation without clicking the filmstrip.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100