TaskPaper will not restore open documents when it starts even after using FAQ instructions


#1

OS X 10.11.4
TaskPaper 3.2.1

I’ve read the FAQ and have tried to get this behavior by both unchecking System Preferences > General > Close windows when quitting an app (which I hope to avoid) and trying to set the behavior via the command line.

I’ve tried both:
defaults write com.hogbaysoftware.TaskPaper3 ApplePersistenceIgnoreState YES
and
defaults write com.hogbaysoftware.TaskPaper3 NSQuitAlwaysKeepWindows -bool true

and TaskPaper always opens a new blank document instead of the one that was open when I quit TaskPaper.


#2

For me it does still seem to be working correctly on OS X 10.11.4 and TaskPaper 3.2.1. I’m not sure… but I think ApplePersistenceIgnoreState YES is maybe the opposite of what you want. I would delete that key. And just do NSQuitAlwaysKeepsWindows -bool true.


#3

I deleted the ApplePersistenceIgnoreState key and double-checked that NSQuitAlwaysKeepWindows is true. My open document still isn’t restored when I launch TaskPaper. I still get an untitled blank document.

For the record unchecking the box in System Preferences does work, it’s just not my preferred solution.

Are there any log files we can check?

For the record here are my defaults for TaskPaper3:

{
    BShowWelcomeText = 0;
    LatestVersionUsed = 210;
    NSNavLastRootDirectory = "~/Dropbox/Apps/Taskpaper";
    NSNavPanelExpandedSizeForOpenMode = "{712, 459}";
    NSQuitAlwaysKeepWindows = 1;
    "NSSplitView Subview Frames Split View Controller" =     (
        "0.000000, 0.000000, 149.000000, 861.000000, NO, NO",
        "150.000000, 0.000000, 596.000000, 861.000000, NO, NO"
    );
    "NSToolbar Configuration B014638B-9688-4A74-9BCA-30E46F11B061" =     {
        "TB Display Mode" = 2;
        "TB Icon Size Mode" = 1;
        "TB Is Shown" = 1;
        "TB Size Mode" = 1;
    };
    "NSWindow Frame DocumentWindowFrameAutosaveName" = "76 140 746 883 0 0 1920 1057 ";
    "NSWindow Frame SUUpdateAlert" = "650 499 620 392 0 0 1920 1057 ";
    SUEnableAutomaticChecks = 1;
    SUFeedURL = "https://www.taskpaper.com/assets/app/TaskPaper.rss";
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2016-05-16 15:57:19 +0000";
}