I’m at 1.0.232, and I would like Joplin to remember the current view mode (viewer-only, editor-only and viewer-and-editor) when I switch between notes and notebooks. Joplin already does so for notes in the same notebook, or for the editor-only & viewer-and-editor modes. However, if I switch to viewer-only, then switch to another notebook, the editor becomes visible again (=it automatically switches to the viewer-and-editor view). Is this the case for other people?
Just tried what you describe using Joplin Portable and Joplin Desktop and the app remembered the view (in any of the three states) when switching between notes, tags and also notebooks.
It may help any others to test this if you update with what OS you are using?
@dpoulton Thank you! I’ve just tested on Win10 and Gentoo Linux, and for me the said behavior occurs if and only if I turn on the CodeMirror editor. Can you confirm this?
It’s it possible that you have the search bar open? This is probably caused by the recent switch to editor searching in codemirror. We plan to remove the code that performs the auto switching so this shouldn’t be a problem for long!
@CalebJohn I was not using the search bar, but yes, that piece of code does seem to cause the problem (previousSearchMarkers can be undefined!). But it’s fine then if that code is going to be removed eventually. Thank you!