Collections module: shown items not consistent to position of slider
Describe the bug
see title
Steps to reproduce
- Have a long list of filmrolls
- Scroll down in this list a lot (at least until you do not see the top of the list anymore)
- Select a film roll in lighttable (here 1946-04-16 with 2 images, see first screenshot)
- Select an image, goto darkroom (double click or press "d" or select "darkroom")
- Go back to lighttable (with or without editing)
- Collections module now wrongly shows the top of the list of film rolls (red marker), whereas the slider remains at the correct position (green marker) (see second screenshot)
Expected behavior
Returning to lighttable the shown part of the list in collections module should keep its position, not jump to the top of the list.
Logfile | Screenshot | Screencast
before entering darkroom:
after return from darkroom:
Commit
no idea
Where did you install darktable from?
self compiled
darktable version
4.5.0+36-g1c8908fcff
What OS are you using?
Linux
What is the version of your OS?
Linux 5.15.0-76-generic / Ubuntu 22.04.2 LTS
Describe your system?
Memory : MemTotal: 65756292 kB Graphics Card : Product Name : NVIDIA GeForce RTX 2060 Graphics Card : Driver Version : 470.199.02 OpenCL installed : Device OpenCL C Version OpenCL C 1.2 OpenCL activated : yes Xorg : Version: 1:7.7+23ubuntu2 Desktop : LXQt GTK+ : 3.24.33 gcc (Ubuntu 12.1.0-2ubuntu1~22.04) 12.1.0 CMAKE_BUILD_TYPE : release
Are you using OpenCL GPU in darktable?
Yes
If yes, what is the GPU card and driver?
see above
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response
This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.
Still present and reproducible for me with 4.5.0+1310-g368a506772
I guess discussion should go here then. Is this a darktable and/or gtk issue? Maybe @AlicVB or @dterrahe can help?
Still reproducible in 4.6.0 on Windows 11 Pro, here's a video: (After first image I clicked the list, after second image I scrolled it) https://youtu.be/WbO7kjgVx_I
And also still reproducible with 4.7.0+214~g18772356aa Edited the original post and the screenshots to make the description more clear.
This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.
Still reproducible with 4.7.0+710~gb7511e7f56
This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.
Still reproducible with 4.7.0+1160~gd97b4d677b
This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.
Still reproducible with 4.9.0+64~ge4aa0e830f
I don't know if it is going to be of any help, but the collections module bug also happens after an image is deleted from a collection or when an export finishes, so perhaps it has something to do with database refresh or something.
This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.
Still reproducible with 4.9.0+755~g7ce271f83b
Hi. I found that this issue occurs also when viewing a collection, and then you import some images. Scrollbar stays at the same position, but list shows first items.
I have darktable 4.8.1 on Linux without OpenGL.
Nice to see this finally fixed. Thanks @zisoft
Perfect, thanks a lot :)