Skip to content
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

Selection is not working correctly in filmstrip #14462

Closed
robyquin opened this issue May 9, 2023 · 5 comments
Closed

Selection is not working correctly in filmstrip #14462

robyquin opened this issue May 9, 2023 · 5 comments
Labels
bug: invalid the bug is not a bug, but a feature duplicate feature: redesign current features to rewrite scope: UI user interface and interactions

Comments

@robyquin
Copy link

robyquin commented May 9, 2023

Describe the bug

Selection is not working correctly in filmstrip (darkroom).

In stripfilm I select multiple images (shift + left button), then I leave and select only one, the previous images remain selected.

The same thing happens if I come from multiple images selected in Lighttable and move to Darkroom.

Steps to reproduce

  1. in Lighttable I select multiple images (white flowers and butterfly)
  2. I switch to Drakroom and in stripfilm I see these selected images
  3. Now, in filmstrip, I select another image (red flower)
  4. images with white flowers remain selected

01

Expected behavior

What I would expect from the selection in the filmstrip is to have a behavior similar to what you find on the lighttable.

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you install darktable from?

github.com/darktable-org

darktable version

4.3.0+2188~gf2f04d4834

What OS are you using?

Windows

What is the version of your OS?

Windows 10

Describe your system?

No response

Are you using OpenCL GPU in darktable?

None

If yes, what is the GPU card and driver?

No response

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

@robyquin
Copy link
Author

robyquin commented May 9, 2023

The problem is solved if we comment the code related to DT_THUMBNAIL_SEL_MODE_MOD_ONLY

if(dt_modifier_is(event->state, 0)
&& thumb->sel_mode != DT_THUMBNAIL_SEL_MODE_MOD_ONLY)

if(table->mode == DT_THUMBTABLE_MODE_FILMSTRIP)
{
thumb->single_click = TRUE;
thumb->sel_mode = DT_THUMBNAIL_SEL_MODE_MOD_ONLY;
}

if(table->mode == DT_THUMBTABLE_MODE_FILMSTRIP)
{
thumb->single_click = TRUE;
thumb->sel_mode = DT_THUMBNAIL_SEL_MODE_MOD_ONLY;
}

if(table->mode == DT_THUMBTABLE_MODE_FILMSTRIP)
{
thumb->single_click = TRUE;
thumb->sel_mode = DT_THUMBNAIL_SEL_MODE_MOD_ONLY;
}

if(mode == DT_THUMBTABLE_MODE_FILMSTRIP)
{
sel_mode = DT_THUMBNAIL_SEL_MODE_MOD_ONLY;
single_click = TRUE;
}

@ralfbrown ralfbrown added the scope: UI user interface and interactions label May 9, 2023
@AlicVB
Copy link
Contributor

AlicVB commented May 9, 2023

If I understand correctly, what you see is here by design :

  • We try very hard to avoid unwanted drop of the selection while working with filmstrip (darkroom or culling)
  • In filmstrip, single click change the active image, so we can't use that for changing selection too.

That's why you need to use modifier keys to change selection in filmstrip (ctrl or shift)

@robyquin
Copy link
Author

robyquin commented May 10, 2023

If I understand correctly, what you see is here by design :

* We try very hard to avoid unwanted drop of the selection while working with filmstrip (darkroom or culling)

* In filmstrip, single click change the active image, so we can't use that for changing selection too.

That's why you need to use modifier keys to change selection in filmstrip (ctrl or shift)

OK! Now it’s clearer!

But while I agree with this choice, on the other hand I consider it dangerous to keep the selection coming from another environment (like Lighttable)

In filmstrip we do not have the complete view of the selection, so in lighttable I get help from the filters of the collection, going to darkroom/map, I would like to have no selection and then select images of interest

@robyquin
Copy link
Author

I would like to be clearer, I think there are areas of ambiguity (???).
User side the theme of the selection looks like this:

selection_memo dot

@Nilvus
Copy link
Contributor

Nilvus commented May 11, 2023

There's no ambiguity @robyquin. Just a design choice (I do not agree with this choice). Unfortunately, this do not really move and had been discussed a lot. Maybe one time darktable will have a way to select like all other software on that part. See related issue here: #6025

As 4.4 will be feature freeze in just few days, this will not change for next release. But could be a good Christmas if this change on 4.6.

Your issue is so a duplicate of #6025. So I suggest you to close this one and continue discussion on #6025.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: invalid the bug is not a bug, but a feature duplicate feature: redesign current features to rewrite scope: UI user interface and interactions
Projects
None yet
Development

No branches or pull requests

4 participants