jschlatow / taskopen

Tool for taking notes and open urls with taskwarrior
GNU General Public License v2.0
363 stars 31 forks source link

taskopen runs garbage collection #165

Closed jneidel closed 12 months ago

jneidel commented 12 months ago

taskopen runs taskwarriors garbage collection, so it messes with the ids.

Showcase how this leads to unexpected results:

Screenshot 2023-09-18 at 10 05 45

Because taskopen ran the garbage collection, id 17 is not "Task 2" anymore, but "Task 3"

What you would expect to happen:

Screenshot 2023-09-18 at 10 07 08

Disabling garbage collection with rc.gc=off leads to the expected behavior.

This should be built into the script :)

jschlatow commented 12 months ago

Thanks @jneidel for reporting this. Since you already suggested a solution: Would you like to implement it yourself? The correct place would be in the taskwarrior.nim file, which defines the default arguments for taskwarrior.