Error: No active editor
at sf.getActiveEditorOrThrowError (file:///Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:2:1270616)
at Op (file:///Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:2:1231125)
at file:///Applications/Inkdrop.app/Contents/Resources/app.asar/browser-main.js:2:1243223
browser-main.js:2 Uncaught AssistiveError: No active editor
at sf.getActiveEditorOrThrowError (browser-main.js:2:1270516)
at Op (browser-main.js:2:1231125)
at browser-main.js:2:1243163
browser-main.js:2 Uncaught AssistiveError: No active editor
at sf.getActiveEditorOrThrowError (browser-main.js:2:1270516)
at Op (browser-main.js:2:1231125)
at browser-main.js:2:1243223
Thanks. It means that the preferences window tried to restore the navigation state, but it should only happen on the main window.
Looks like you are still on canary v14. Can you try upgrading it to v15?
If it still happens, can you run the below script in the developer console and share the result?
It occurs the same error after upgrading to Canary v15
and this is the log for window.location.href and inkdrop.windowType
browser-main.js:2 Uncaught AssistiveError: No active editor
at sf.getActiveEditorOrThrowError (browser-main.js:2:1270516)
at Op (browser-main.js:2:1231125)
at browser-main.js:2:1243163
browser-main.js:2 Uncaught AssistiveError: No active editor
at sf.getActiveEditorOrThrowError (browser-main.js:2:1270516)
at Op (browser-main.js:2:1231125)
at browser-main.js:2:1243223
console.log(window.location.href)
file:///Applications/Inkdrop.app/Contents/Resources/app.asar/index.html?windowType=preferences&entry=main&has-frame=1&dark-ui=1&windowId=2
undefined
console.log(inkdrop.windowType)
browser-main.js:2 preferences
undefined
Gotcha.
The plugin note-tabs was calling the core:open-note command.
The root cause is that plugins are unexpectedly activated in the preferences window.
I’ll fix it in the next version. Thanks!