darktable icon indicating copy to clipboard operation
darktable copied to clipboard

increase gmz LUT selection box max height (200 -> 350), scroll wheel behavior

Open dev-dev-dev-dev-dev-dev-dev-dev opened this issue 1 year ago • 3 comments

…now works to scroll

Overview

Currently, the LUT 3D iop gui has a specific UI for use with compressed LUTs (.gmz files). Once a .gmz file is selected, a list box is rendered, populated with all the LUT available from the selected .gmz file. This list box is currently rather short in height, making it difficult to view the list of available LUTs. The popular gmic ships gmic_clutz.gmz with hundreds (over a thousand?) contained LUTs - finding a specific one in a small box is difficult if the name isn't precisely known to use text search.

image

When browsing through the LUT list, a user will intuitively begin to scroll through with the mouse wheel. Instead of scrolling the list as expected, darktable will currently interpret the scroll input to cycle through the available LUTs, applying them as the user scrolls. Because the scroll wheel is not a particular precise input mechanism - a single flick of the wheel can create an unpredictable number of events - the user ends up changing the applied LUT. This is not intuitive. Nor is it a responsive operation - changing the LUT can and frequently will cause the UI to lag with every scroll as LUTs are decompressed and applied. There's no convenient way to scroll through the list without grabbing the scroll bar and going on a hunt.

Changed

  • The max height for the LUT select box is increased from 200 to 350 px (subject to dpi scaling as usual).

image

  • Special behavior to iterate through LUTs on scroll behavior is removed. Users can still use the keyboard up/down arrow to iterate through LUTs, but the mouse scroll wheel will now move through the list without changing the selected LUT. The UI is both more intuitive to use and faster to respond.

Potential future improvements

  • Adjustable LUT selection list height, similar to equalizer UI
  • Maybe use the existing scroll behavior with a modifier key? Open to input on this, not sure it's worth supporting LUT iteration by mouse wheel.

Adjustable LUT selection list height, similar to equalizer UI

Yes please, would be good to do that indeed. We have the same for collections too which is similar here (tree list).

TurboGit avatar Mar 01 '24 15:03 TurboGit