GTG

Comment 3 for bug 504874

Revision history for this message
Kevin Mehall (kevin-mehall) wrote : Re: Drag and dropping tasks open in the taskeditor on to tags has inconsistent results

Luca> Yes, that's the desired behavior, but that text is already inserted. It's then overwritten due to a problem with the editor.

The reason this bug occurs is because the drag and drop modifies the task's content via Task.add_tag, and then the task editor saves over that content when the window is typed in or closed. We need to make the editor refresh the content from Task.content whenever it is changed, so that the added "@tag" text stays inserted. Currently, the editor assumes that it is the only thing that modifies the content.

The reason for the inconsistent behavior with empty text is because upon opening the editor, if the text is empty, "@tag" text will be inserted for each tag on the task. This is also the reason that only subtasks without text would be properly tagged in bug #504409. That fix does not affect this bug.