ransome1 / sleek

todo.txt manager for Linux, Windows and MacOS, free and open-source (FOSS)
https://github.com/ransome1/sleek/wiki
MIT License
1.28k stars 99 forks source link

autocomplete fails to show those contexts/projects that currently visible todo items don't contain #637

Closed bughunter2 closed 4 months ago

bughunter2 commented 5 months ago

App Version: 2.0.6

Platform: Linux

Installation Method: Direct Download

Bug Description: When editing a todo item, the autocomplete for @ and + only shows contexts and projects that are currently used in the set of visible todo items. That is: if you've unchecked the 'Due date in the future' filter, autocomplete refuses to autocomplete context or projects that only exist in todo items that aren't currently shown.

Steps to Reproduce: See bug description.

Expected Behavior: See bug description.

Actual Behavior: See bug description.

ransome1 commented 4 months ago

@bughunter2 could you check if this still happens in this pre-release? https://github.com/ransome1/sleek/releases/tag/v2.0.9-rc.4

bughunter2 commented 4 months ago

Still happens I'm afraid. I'll attach the todo.txt file and some screenshots: (Note that this happens both with + projects and @ contexts.)

foobar +ProjectFoo
foobar +ProjectBar due:2050-01-01

If we allow Sleek to show future todo items, it all looks fine: Screenshot_2024-02-09_19-41-07

But if we don't, we can reproduce the problem like so: Screenshot_2024-02-09_19-41-27

ransome1 commented 4 months ago

@bughunter2 you're right, something went wrong with merging the changes into that release :/ They should however be integrated in the v2.0.9 release: https://github.com/ransome1/sleek/releases/tag/v2.0.9

bughunter2 commented 4 months ago

That fixed it. Hurrah :smiley: