Todour icon indicating copy to clipboard operation
Todour copied to clipboard

Archived finished tasks are saved on the .txt file, but not disappearing.

Open HeathenHacks opened this issue 2 years ago • 5 comments

I'm trying to figure out if my settings are wrong or if it's a bug, because on the video on the website, the finished tasks disappear after clicking the archive button.

I'm using Todour version 2.21 and here are some more details that might help:

OS: ArcoLinux Kernel: 5.18.7-arch-1 DE: Plasma 5.25.2 WM:KWin

Thanks.

HeathenHacks avatar Jun 30 '22 19:06 HeathenHacks

Hi. That would be a bug as far as I can tell. I will dig into it and probably get back with some questions as when trying to recreate it now on a linux system (though Ubuntu as that is what I have access to) I couldn't recreate it.

SverrirValgeirsson avatar Jul 01 '22 05:07 SverrirValgeirsson

I see. Anyway, here's video of what's happening if it would help in anyway: https://youtu.be/ecN36Bb6uLc

On this video, the finished tasks that were archived only disappears on the todo.txt file and not on the program after clicking the archive button.

HeathenHacks avatar Jul 01 '22 17:07 HeathenHacks

Hi. That was an excellent video. Thanks for making the effort.

I see two interesting issues.

  1. The program is failing to reload the todo.txt file after you have archived. looking at the code, that seems be missing. (A workaround should be to make sure that the "Refresh automatically when file is changed" image

  2. It seems the delete button is a bit generous with what it deletes. Since the items shouldn't always have been possible to delete there is a bug there also.

I will fix both these ASAP.

SverrirValgeirsson avatar Jul 01 '22 19:07 SverrirValgeirsson

No worries. It's not like it's super important. :D

As an additional feature for future versions, I think it would be nice as well if it's possible to make the finished tasks vanish from the list when they're done to make the list look cleaner. That's just what I think, tho.

HeathenHacks avatar Jul 02 '22 05:07 HeathenHacks

I see the same behaviour on Windows on 2.21, but only on one machine running it (the other works as expected).

Would try to track it down myself but my C++ is not good enough just yet! Is there some kind of cache that is holding these ghosts of archived tasks? It seems to persist through shutting down the program and uninstall/reinstalls. Would be happy to try and get to the bottom of it with a few pointers.

tomfbush avatar Dec 12 '22 10:12 tomfbush