Skip to content

Fix collection searchstring handling - #23332

Merged
TurboGit merged 2 commits into
darktable-org:masterfrom
zisoft:fix-collection-searchstring
Dec 2, 2026
Merged

TurboGit merged 2 commits into
darktable-org:masterfrom
zisoft:fix-collection-searchstring

Conversation

@zisoft

@zisoft zisoft commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

When a search string was entered in the collections module to narrow down the collection, this string was only taken into account when actually typing in that field. As a result, the collection list contains all unfiltered items when coming back from darkroom to lighttable.

Referenced issue

fixes #23330
fixes #23039

Checklist

  • I have read CONTRIBUTING.md and the coding style.
  • I have not merged master into the topic branch.
  • The pull request is one logical change, and every commit compiles on its own. You may use git rebase --exec 'cmake --build build' master to check this.
  • I ran the relevant tests: unit tests, src/tests/integration/ where the pixelpipe is touched, or darktable-cli as a headless smoke test.
  • New user-visible strings use _(), new preferences are registered in data/darktableconfig.xml.in.
  • A RELEASE_NOTES.md entry was added (only needed if fixing an issue in a release). Do not reference GitHub issues.

Test instructions

  • in the collections module, select type filename
  • enter a search string with wildcards % to narrow down the list
  • press Enter to see the filter applied to lighttable
  • go to darkroom
  • come back to lighttable. The lighttable contains only the filtered images but the collection list contains all.

AI assistance

none

@zisoft zisoft added this to the 5.8 milestone Dec 2, 2026
@zisoft zisoft added the bugfix pull request fixing a bug label Dec 2, 2026
@TurboGit TurboGit added the scope: DAM managing files, collections, archiving, metadata, etc. label Dec 2, 2026

@TurboGit TurboGit left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@TurboGit
TurboGit merged commit f8a39a9 into darktable-org:master Dec 2, 2026
7 checks passed
@zisoft
zisoft deleted the fix-collection-searchstring branch December 2, 2026 18:30
@bazdesh

bazdesh commented Dec 3, 2026 •

Copy link
Copy Markdown

I dont want to blame anybody, but I think that this might have broken the collections menu? It is the only recent pull that touches the interface and it sounds to me like this might be the reason.
#23349

@zisoft

zisoft commented Dec 4, 2026 •

Copy link
Copy Markdown
Collaborator Author

I will look.

EDIT: Fixed by #23355

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix pull request fixing a bug scope: DAM managing files, collections, archiving, metadata, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lighttable/collection: "files"-selection using wildcards gets lost after switch to darkroom

3 participants