Darktable Lighttable Scroll Increments

When scrolling the lighttable in darktable, it scrolls at large increments of roughly one image size per step. This makes sense when using a mouse with a clicky scroll wheel. But on a touch pad or a smooth-scrolling mouse, it feels very choppy.

Is there a way to change the scrolling behavior? I can drag the scroll bar smoothly, so I assume this is not a limitation of the the scroll area itself.

I’m on macOS, using darktable 4.8.1.

After some examination, I find that the behavior is hard-coded into darktable.

I have developed a patch that lets you scroll the lighttable smoothly with a touch pad, but remains fixed to the thumbnail grid when scrolling with a mouse.

I guess I’ll open an issue on Github and see if that’s of interest to anyone else.

1 Like

Here is the pull request for the feature: Smooth Scrolling for Filemanager Lighttable by bastibe · Pull Request #17341 · darktable-org/darktable · GitHub

4 Likes

The pull request has now been merged. So, come December, you will have a new toggle in the settings to enable smooth and fractional scrolling in your lighttable, if you so desire.

2 Likes