Hi, I don't agree with your patch adding remove_dnd_name(). I still want to be able to drag tasks under another one. Disabling DnD does not solve the root of the problem.
Ideal solution would be to have a check before moving if any of task parents are visible in the current view and task is moved to the root. Psuedo code:
parent_shown = any(parent in tree.get_nodes()for parent in node.get_parents())
is_moved_to_root = ...
if is_moved_to_root and not parent_shown:
return
else:
move_to_the_new_parent()
Hi, I don't agree with your patch adding remove_dnd_name(). I still want to be able to drag tasks under another one. Disabling DnD does not solve the root of the problem.
Ideal solution would be to have a check before moving if any of task parents are visible in the current view and task is moved to the root. Psuedo code:
parent_shown = any(parent in tree.get_nodes()for parent in node.get_parents()) to_the_ new_parent( )
is_moved_to_root = ...
if is_moved_to_root and not parent_shown:
return
else:
move_