Repository navigation
collect: keep auto-filled search entries out of the display filter - #23366
Merged
Merged
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
After selecting a row, applying a preset with different search text leaves the display-filter bypass enabled, so the restored search shows all proposals instead of only matching ones.
1 open issue
What changed in this PR
Extends the collections fix so later refreshes, including returning from darkroom, do not filter the proposal list using auto-filled selection text.
Changes:
- Keeps display-filter suppression active after row selection.
- Clears suppression when the entry changes.
- Updates comments to explain the persistent behavior.
| File | Description |
|---|---|
src/libs/collect.c |
Preserves selection-related filter suppression across refreshes and resets it on entry changes. |
Review effort: Balanced
The skip flag set by row selection was cleared right after the view refresh, so it only suppressed the very first pass. Any later refresh - notably returning from darkroom - ran the display filter on the auto-filled entry text and collapsed the list to the single selected row. Keep the flag set until the user actually types into the entry; programmatic writes block the entry-changed signal anyway, so the flag survives them and only real typing re-enables the filter.
zisoft
force-pushed
the
fix-collection-regression-2
branch
from
December 5, 2026 08:31
c1025ee to
4f8811d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Follow up to #23355
Summary
The skip flag set by row selection was cleared right after the view refresh, so it only suppressed the very first pass. Any later refresh - notably returning from darkroom - ran the display filter on the auto-filled entry text and collapsed the list to the single selected row.
Keep the flag set until the user actually types into the entry; programmatic writes block the entry-changed signal anyway, so the flag survives them and only real typing re-enables the filter.
Referenced issue
fixes #23349
Checklist
git rebase --exec 'cmake --build build' masterto check this.src/tests/integration/where the pixelpipe is touched, ordarktable-clias a headless smoke test._(), new preferences are registered indata/darktableconfig.xml.in.RELEASE_NOTES.mdentry was added (only needed if fixing an issue in a release). Do not reference GitHub issues.AI assistance
local LLM Qwen3.8-27B-4bit