GTG

Comment 4 for bug 1011932

Revision history for this message
Izidor MatuĊĦov (izidor) wrote :

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()