I’ve encountered what appears to be a bug that occurs when dragging projects from one document to another. I am running TaskPaper 3.3.1 from the Mac App Store on OS X 10.11.5.
Recipe:
Create 2 documents (A and B) each containing a couple of projects and child items
Drag a project from document A to document B, from sidebar to sidebar
Drag the project from document B back into document A
Expected result:
The final versions of the documents are unchanged, as the project was moved and then put back into document A. The project was added to document B and then removed from document B.
Real result:
The project and children from document A are moved (not copied) to document B on the first drag and drop. When dragged from B to A, the project simply disappears from both documents and cannot be recovered via undo.
Overall, I have found that dragging objects between documents has very uneven - and untrustworthy results. Variations on this recipe will yield different results, all of which may result in a loss of data during drag and drop operations.
I have duplicated this problem on 2 different Macs, each running 10.11.5. One is my 2014 MBP retina, and the other is my old, heavy low-res 2012 MBP.
I have tried this while logged into a Guest account as well - same results.
I observe that if I drag all the projects out of a file, the file becomes empty. When this file is opened in some neutral text reader (e.g., TextWranger) it displays only the text “undefined”.
I am attaching 2 very small files, A.taskpaper and B.taskpaper. These have worked reliably to reproduce this issue.
I made a short movie that illustrates this issue “in action” as well:
I see that this Dropbox link doesn’t play nice with video controls. I hope you can simply download it - about 5.3MB.
Thanks for the video, I am able to reproduce the problem. The difference between what I was doing and what you are doing is that you were selecting the project B2 before moving it. Of course it should work, but that’s the part that I wasn’t doing originally. I’ll see if I can get a quick fix in for this.
I’m glad the video helped. I know that very small bits of interaction changes can make all the difference, and it wouldn’t have occurred to me to say “select the project” as a separate action - I’m blind to all the little things I do so often!
I love the way TaskPaper works, and thanks for what you do.
Just tried preview version 218, and it appears to work just fine. I can drag and drop projects between docs all day long. Thanks for such quick work!
I use this as a way to “carry over” projects from one 2-week period to another. Whatever projects still have undone items get dragged to my next 2-week TaskPaper planner. There’s probably a way to script that, but this method forces me to review what the hell it is I’m doing.