Ok, I just started using gtg again, same install as last time. I didn't think of using the -d flag as it had been ok the 2-3 times I used it since I last wrote, but I just saw the bug and paid more attention this time even if I have no log to give and not enough for a bug report, I guess I can give a more complete description this time :
I added a new top-level task,
I added 5 children tasks to it (with the "dash space" method),
went back up a bit to add 4 tags at the top (1 new, 3 existing).
I opened a child task with Ctrl+Enter and saw the tags were all screwed up :
Only one tag with the at symbol, the others were cut and repeated weirdly (
\@urgent, stress, steess, stee, heart, health, hea, he, The orignal tags were urgent, heart, health, stress, so they were not only cut but repeated and modified)
I corrected the tags, added due dates and went back to the parent task.
I noted the task editor had only 3 tasks left.
The general tree view behind only had 2! (2 from the 3 in the task editor)
Ok, I am currently reproducing it, the only log I can see explaining it is :
2021-01-20 20:22:45,003 - DEBUG - requester:delete_task:142 - deleting task 0568bc9d-716d-4331-bc9a-7bff70dc85b9
Got additional lines :
2021-01-20 20:24:52,661 - DEBUG - main_window:on_task_treeview_button_press_event:901 - Received button event #1 at 282.9062194824219,623.9133911132812
2021-01-20 20:24:57,556 - DEBUG - main_window:on_task_treeview_button_press_event:901 - Received button event #1 at 241.16943359375,21.564163208007812
2021-01-20 20:25:01,147 - DEBUG - taskview:insert_existing_subtask:812 - Task 0568bc9d-716d-4331-bc9a-7bff70dc85b9 not found
2021-01-20 20:25:14,290 - DEBUG - requester:delete_task:142 - deleting task 0a2177bd-15d2-490b-b361-0b6b9b2bcc49
2021-01-20 20:25:49,012 - DEBUG - requester:delete_task:142 - deleting task 74a7b876-e23d-46fa-9740-4910932d554a
And I can see the subtask are deleted when you open them in the task editor and then click "open parent", even if you don't do any change to them (at first I corrected the tags, but that's not it)
I "added parent" to my top level task before trying to open it in the task editor and got these lines :
2021-01-20 20:28:56,302 - DEBUG - requester:delete_task:142 - deleting task 8a611922-5b97-46fb-bd2c-2dc4c4cb6f88
2021-01-20 20:28:56,544 - DEBUG - taskview:process:202 - Processing text buffer after 250 ms
2021-01-20 20:28:56,551 - DEBUG - taskview:process:249 - Processed in 6.7 ms
2021-01-20 20:29:08,959 - DEBUG - requester:delete_task:142 - deleting task 65b6fda0-ac5c-47dc-81aa-b5a938be24fc
2021-01-20 20:29:09,203 - DEBUG - taskview:process:202 - Processing text buffer after 250 ms
2021-01-20 20:29:09,210 - DEBUG - taskview:process:249 - Processed in 7.1 ms
2021-01-20 20:29:11,752 - DEBUG - taskview:process:202 - Processing text buffer after 250 ms
2021-01-20 20:29:11,756 - DEBUG - taskview:process:249 - Processed in 3.7 ms
2021-01-20 20:29:12,456 - DEBUG - taskview:process:202 - Processing text buffer after 250 ms
2021-01-20 20:29:12,460 - DEBUG - taskview:process:249 - Processed in 3.5 ms
2021-01-20 20:29:13,143 - DEBUG - taskview:process:202 - Processing text buffer after 250 ms
2021-01-20 20:29:13,147 - DEBUG - taskview:process:249 - Processed in 3.2 ms
2021-01-20 20:29:14,535 - DEBUG - taskview:process:202 - Processing text buffer after 250 ms
2021-01-20 20:29:14,539 - DEBUG - taskview:process:249 - Processed in 3.9 ms
2021-01-20 20:29:15,279 - DEBUG - taskview:process:202 - Processing text buffer after 250 ms
2021-01-20 20:29:15,281 - DEBUG - taskview:process:249 - Processed in 1.3 ms
2021-01-20 20:29:16,551 - DEBUG - taskview:process:202 - Processing text buffer after 250 ms
2021-01-20 20:29:16,560 - DEBUG - taskview:process:249 - Processed in 7.9 ms
2021-01-20 20:29:22,461 - ERROR - application:open_task:483 - Task 65b6fda0-ac5c-47dc-81aa-b5a938be24fc could not be found!
2021-01-20 20:29:24,308 - ERROR - application:open_task:483 - Task 65b6fda0-ac5c-47dc-81aa-b5a938be24fc could not be found!
Sorry it's really messy, I'm basically typing as I go along.
TL;DR
Ok, clicking "open parent" from the task editor deletes the task you were in :p
And the tags are not passed properly to the children, they are shortened, mangled and partially repeated