No. HTML doesn't seem to be the culprit. This is how I am testing now …

  1. Joplin 3.1.23, Desktop, Linux (Fedora specifically, but it is the AppImage)
  2. my custom userstyles.css and userchrome.css were removed
  3. I turned off all plugins except Persistent Editor Layout (to save a headache) and Resume Note
  4. I have scrolled to a spot and selected text
  5. I have scrolled to a spot and merely planted the cursor
  6. I switched between Default and VIM modes just to see what would happen.
  7. Markdown editor only.

What I have found.

Upon restart of Jopln:

  1. The only thing that survives a restart of Joplin is the note selected. This alone is a huge win, but the cursor is always kicked to the top and scrolled to the top and if something was selected, it is no longer selected
  2. The VIM mode shows you a flash of the cursor (helpful) whereas the the Default mode shows no cursor. The editor is not input-focused when you restart Joplin.

Switching between notes:

  1. It seems to work as designed. But only not when …
  2. With all plugins turned on, I get jumps in cursor location, scrolling, and selections do not retain.

Conclusion:

  1. the cursor location, selection, and scroll position is not retained upon restart, but the note selected is! Which is great.
  2. my issues with retained selection, cursor position, etc. is the result of some plugin conflict. I will try to narrow that down. So, far, I have eliminated a number of them.
1 Like