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

Filter results show only previously visible tasks #620

Open
argmaxmax opened this issue Feb 20, 2025 · 0 comments
Open

Filter results show only previously visible tasks #620

argmaxmax opened this issue Feb 20, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@argmaxmax
Copy link

Describe the bug

When filtering, filter results appear to be less than they actually are.

To Reproduce

Add 100 tasks named abc. Add 100 tasks named xyz. Add one task named abc.
Scroll to bottom.
Filter using the search string abc.
It shows only one result.

Reproducible with the following bash commands:

for i in {1..100}; do task add abc; done
for i in {1..100}; do task add xyz; done
task add abc

What I think it should be doing is scroll up just enough to fill the screen with results while maintaining selection.
That is how all interactive filtering mechanisms work, show as many results as possible, not only the ones that were visible on the page before search.

Environment (please complete the following information):

  • Operating System: Linux (NixOS)
  • Installation: NixOS
  • taskwarrior-tui version: 0.26.3
  • task version: 3.3.0

Additional context and information

Scroll down:

Image

Results:

Image

Instead it should be:

Image

@argmaxmax argmaxmax added the bug Something isn't working label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant