Project

General

Profile

Bug #11917

Two mouse scrolls are required to switch to another image in lighttable

Added by Elman Elman 12 days ago. Updated 12 days ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Lighttable
Target version:
-
Start date:
01/10/2018
Due date:
% Done:

0%

Affected Version:
2.4.0
System:
other GNU/Linux
bitness:
64-bit
hardware architecture:
amd64/x86

Description

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.

History

#1 Updated by Roman Lebedev 12 days ago

That is because the first scroll transfers the focus to the main view, but does not actually switch the image, while the second one does switch the image.

#2 Updated by Elman Elman 12 days ago

If this is expected behavior, then what would help my workflow is that we could have metadata apply button / keyboard shortcut which would automatically switch to next image. Therefore I would not need to switch images by mouse wheel.

#3 Updated by Tobias Ellinghaus 12 days ago

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? My memory is hazy …

#4 Updated by Roman Lebedev 12 days 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 …

Also available in: Atom PDF