Two mouse scrolls are required to switch to another image in lighttable
1. Switch to lighttable
2. Set file manager and display 1 image
3. Open metadata editor
4. Type some title and press apply
5. Move mouse over preview and scroll with mouse wheel - scroll doesn't happen
6. Scroll with mouse wheel again and next image is displayed
This behavior is quite annoying when you try to set title to 200 images.
This behavior can be observed also in different situations. For example when I alt+tab from another application to darktable I need 2 mouse scrolls to switch to another image. Subsequent image switches only need 1 mouse scroll.
Probably has to do with focus detection. Also when I try to click image preview before using mouse wheel, it doesn't help.
#4 Updated by Roman Lebedev almost 2 years ago
Tobias Ellinghaus wrote:
It's not really intended like that, it just happens to be the current state.
Didn't we use to grab the focus when entering the center widget? Was that removed?
yes, and yes i believe, because that potentially destroyed image ratings.
In this case it really depends on what events do actually happen.
Does the lighttable receive the first scroll event, and ignores it because of no focus? Or gtk does not even send the first scroll event there?
My memory is hazy …