This is a long note. The behavior I am seeing is hard to describe and in the course of writing this note, I have noticed new aspects of it.
I am using Notenik 15.9.0 (759) on macOS 13.6.7 (22G720). I believe I updated this from the app store in the past day or so.
My usual use of Notenik is this: I have a folder named Notenik that contains 15 or so sub-folders. My usual practice is to use the “Open Project Folder…” feature (previously “Parent Realm…”) to open this folder. This give me a window in which there is a list of each of the sub-folders that provides convenient access to different sets of notes.
I noticed today that one of the sub-folders no longer appears in that list. If I open that sub-folder directly with File->Open…, things seem fine but when I close that window, a file named “- INFO-CONFLICT-N.nnk” (where N is an integer) appears in the folder.
It seems from watching a Finder window when closing the collection as if these conflict files are first named “- INFO.nnk” and then immediately renamed to “- INFO-CONFLICT-1.nnk”, “- INFO-CONFLICT-2.nnk” if “- INFO-CONFLICT-1.nnk” already exists, and so on. There is no obvious reason for this to be renamed: there is no existing “- INFO.nnk” file in this directory.
The sub-folder in question is one of the two I use the most, so I am pretty sure I would have noticed this behavior if it occurred with previous versions.
I just confirmed that this problem also occurs with the 15.8.1 (750) beta version (which I did not previously use, and have now replaced with the 15.9.0 (759) version from the app store again).
While investigating this problem, there was on a few occasions an alert about “Duplicates found within the Collection folder – see Log for Details.” This did not occur again, through repeated openings of the collection, until just now. I am not able to reproduce this reliably: sometimes Notenik issues this alert, most of the time it doesn’t.
The log says “Note titled ‘Notenik XXX’ appears to be a duplicate and could not be accessed”, but:
(1) there is in fact no file named “Notenik XXX” in the collection folder,
(2) “XXX” is in fact the name of the folder that contains the collection,
(3) a note with this name appears in the list of notes in the left-hand pane of the collection window (despite (1) above, but see see (4) below)
(4) if I delete this note, close and re-open the collection, and Notenik issues the “duplicates found” warning (which it does not always do), it creates the note (though not an actual file corresponding to it),
(5) the contents of this note, when Notenik creates it, appears to be what should be in the “- INFO.nnk” file, which as mentioned above, does not exist in this collection folder.
It’s all very confusing and there may be parts that I have not explained very well.