baumgarr / nixnote2

Nixnote - A clone of Evernote for Linux
http://www.nixnote.org
Other
1.12k stars 157 forks source link

Note ID cannot be found after note import #374

Open Gizze opened 7 years ago

Gizze commented 7 years ago

After importing a note the query command does not yield the note ID. This used to work until, say 6 months ago. This is how to reproduce the issue:

nixnote_import_testcase.sh.gz testcase.nnex.gz

Gizze commented 6 years ago

I did some more experiments with the command-line operations and this is what I found: An import of a note followed by an immediate query will not find the ID of this note. However, if after the import nixnote is invoked and closed again then a subsequent query will find the imported note. It appears that upon startup of the GUI (even if minimized) nixnote does some housekeeping which the invocation of the query command does not.

nixnote_import_testcase_workaround.sh.gz