increase gmz LUT selection box max height (200 -> 350), scroll wheel behavior #16395
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…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.
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
Potential future improvements