darktable icon indicating copy to clipboard operation
darktable copied to clipboard

Collections module: shown items not consistent to position of slider

Open pehar1 opened this issue 2 years ago • 14 comments

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:

bugreport-1

after return from darkroom:

bugreport-2

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

pehar1 avatar Jul 04 '23 07:07 pehar1

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.

github-actions[bot] avatar Sep 09 '23 00:09 github-actions[bot]

Still present and reproducible for me with 4.5.0+1310-g368a506772

pehar1 avatar Dec 01 '23 07:12 pehar1

I guess discussion should go here then. Is this a darktable and/or gtk issue? Maybe @AlicVB or @dterrahe can help?

piratenpanda avatar Dec 01 '23 07:12 piratenpanda

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

Pizzacutter-at-tty3 avatar Jan 09 '24 15:01 Pizzacutter-at-tty3

And also still reproducible with 4.7.0+214~g18772356aa Edited the original post and the screenshots to make the description more clear.

pehar1 avatar Jan 10 '24 07:01 pehar1

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.

github-actions[bot] avatar Mar 11 '24 00:03 github-actions[bot]

Still reproducible with 4.7.0+710~gb7511e7f56

pehar1 avatar Mar 11 '24 07:03 pehar1

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.

github-actions[bot] avatar May 11 '24 00:05 github-actions[bot]

Still reproducible with 4.7.0+1160~gd97b4d677b

pehar1 avatar May 11 '24 07:05 pehar1

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.

github-actions[bot] avatar Jul 12 '24 00:07 github-actions[bot]

Still reproducible with 4.9.0+64~ge4aa0e830f

pehar1 avatar Jul 12 '24 05:07 pehar1

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.

Pizzacutter-at-tty3 avatar Aug 10 '24 11:08 Pizzacutter-at-tty3

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.

github-actions[bot] avatar Oct 10 '24 00:10 github-actions[bot]

Still reproducible with 4.9.0+755~g7ce271f83b

pehar1 avatar Oct 10 '24 05:10 pehar1

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.

elman22 avatar Oct 27 '24 22:10 elman22

Nice to see this finally fixed. Thanks @zisoft

piratenpanda avatar Dec 13 '24 18:12 piratenpanda

Perfect, thanks a lot :)

elman22 avatar Dec 26 '24 08:12 elman22