1
2
Fork
You've already forked tally
0

[bug]: Filtering by non-existent color breaks search #22

Closed
opened 2026年07月04日 18:22:35 +02:00 by bragefuglseth · 1 comment

When searching for a color that no current counter has, the search view gets locked to the "No Matches" state.

Steps to reproduce

  1. Ensure that at least one color is absent from the list of counters
  2. Perform a search for that color

Current behavior

The "No Matches" screen appears, and refuses to go away even when the search is changed or closed altogether

Expected behavior

The "No Matches" screen appears, but goes away when the search becomes valid or is closed

When searching for a color that no current counter has, the search view gets locked to the "No Matches" state. ## Steps to reproduce 1. Ensure that at least one color is absent from the list of counters 2. Perform a search for that color ## Current behavior The "No Matches" screen appears, and refuses to go away even when the search is changed or closed altogether ## Expected behavior The "No Matches" screen appears, but goes away when the search becomes valid or is closed
Owner
Copy link

I redid the logic governing the "No Matches" page so that it uses Gtk.ListBox's :set_placeholder() method. I also make sure to tweak the CSS when the aforementioned status page appears so that it looks like an ordinary status page instead of as a child element to the list.

I also rigorously tested the search in every way I could imagine. I believe it is now bug-free along with meeting the criteria for Circle inclusion.

I redid the logic governing the "No Matches" page so that it uses Gtk.ListBox's :set_placeholder() method. I also make sure to tweak the CSS when the aforementioned status page appears so that it looks like an ordinary status page instead of as a child element to the list. I also rigorously tested the search in every way I could imagine. I believe it is now bug-free along with meeting the criteria for Circle inclusion.
Sign in to join this conversation.
No Branch/Tag specified
main
0.7.3
0.7.2
0.7.1
0.7
0.6.3
0.6.2
0.6.1
0.6
0.5
0.4.2a
0.4.2
0.4.1
0.4
0.3
0.2
0.1
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
vtrlx/tally#22
Reference in a new issue
vtrlx/tally
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?