-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change way to interact with filmstrip #17568
Conversation
This is exactly what was discussed in #16275 👍 |
5d4a537
to
93e2614
Compare
Great ! I agree that this is way better. |
With this PR, double-clicking to edit a different image resets the selection to be just that image. Current master preserves the selection when switching images by clicking on the filmstrip. As I've mentioned elsewhere, switching to GtkGesture should allow completely independent actions for single- and double-click, rather than having the double-click first perform the single-click action. But that's a much bigger code change. (Also typo in your post: Shift-Click to select range - Alt-Click does nothing but could perhaps be repurposed to switch image being edited without resetting the selection.) |
93e2614
to
653145a
Compare
Indeed, will fix that. |
Don't remember but to me clearly we can have double click on a touchpad... So maybe something else, we'll see. |
7748ada
to
6c19bde
Compare
This is now fixed, was not easy, but should be ok. If you read this please test as some tricky parts have been reworked. |
cd6a67a
to
3529472
Compare
3529472
to
638121c
Compare
So for the selection: - Click : select a single image - Ctrl+Click : toggle image selection - Shift+Click : select range And so now to change image in darkroom: - Double-click : change edited image Note that the tricky part is that a double-click does raise: GDK_BUTTON_PRESS GDK_BUTTON_PRESS GDK_2BUTTON_PRESS So we do resort on a timeout action for single click (GDK_BUTTON_PRESS) selection which gets remove if a double click is actually done. Part of #16275.
And make sure the single selection occurs after the edited image to fix the range selection.
e3b8c23
to
74e9c90
Compare
After more testing and fixing this is ready to me. Let's merge for field testing. |
This has bothered me since the first implementation of the filmstrip in darktable.
Use the same way for selection as in the Lighttable.
And so now to change image in darkroom a double click is needed.