joplin icon indicating copy to clipboard operation
joplin copied to clipboard

Cursor jumps to top of editor when typing

Open 211217613 opened this issue 9 months ago • 22 comments

This has been present for a lot of versions.

Whenever I'm typing text into the text window the cursor will automatically jump back to the beginning of the doc. Right now it happened while I was adding bullet points. I'll type text then the cursor automatically jumps to the beginning of the code editor window. I then manually move the cursor back to where I was typing and the bug repeats

Environment

Joplin version: Joplin 2.12.18 Platform: MacOS (prod, darwin) OS specifics:

Steps to reproduce

  1. Type
  2. Continue typing
  3. cursor jumps to row 1 col 1 of the editor. Move the cursor down to where you want to add text
  4. type
  5. continue typing
  6. cursor jumps up to row 1 and col 1 again

Describe what you expected to happen

Logfile

log.txt

211217613 avatar Sep 25 '23 21:09 211217613

I've also been experiencing this, but very rarely...

One possible cause is that remote changes to a note are fetched and decrypted. Currently, NoteEditor.tsx unloads the editor (then reloads it) while the current note is being decrypted.

Edit: After looking further at NoteEditor.tsx, I'm not sure that the above is true.

Does this issue happen when:

  • encryption is enabled,
  • changes are being synced, and
  • both in the rich text and markdown editors?

~~If so, it's possibly caused by the above issue.~~

I do have encryption enabled, not sure if changes are being synced, i'm almost always in markdown mode.

211217613 avatar Sep 27 '23 20:09 211217613

I've noticed this issue as well; for me it seems to only happen when changes are being synced. I will be in the middle of typing something, the sync process starts, and at the end the cursor jumps to the top of the note -- and often the last word or two I typed is gone.

I don't have encryption turned on, and I am always using markdown mode.

jeff-hughes avatar Oct 05 '23 12:10 jeff-hughes

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Nov 04 '23 16:11 github-actions[bot]

This issue hasn't been addressed. Let's keep it open for now.

211217613 avatar Nov 06 '23 20:11 211217613

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Dec 07 '23 16:12 github-actions[bot]

This is still an issue

211217613 avatar Dec 07 '23 16:12 211217613

In some ways, the desktop app's new beta editor is structured differently from the main editor. As such, the bug might not be present in the new beta editor.

I updated Joplin and enabled the beta editor in settings. I'll update if I see this issue again.

211217613 avatar Dec 14 '23 18:12 211217613

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Jan 14 '24 16:01 github-actions[bot]

I'm still experiencing this issue on desktop application.

Joplin 2.13.9 (prod, darwin)

Client ID: 445b194659024350aa9d3a207596bb49
Sync Version: 3
Profile Version: 44
Keychain Supported: No

Revision: 1bbec44

Templates: 2.4.0

211217613 avatar Jan 14 '24 17:01 211217613

In some ways, the desktop app's new beta editor is structured differently from the main editor. As such, the bug might not be present in the new beta editor.

I think it still happens in the beta editor, but I'll confirm next time it happens.

laurent22 avatar Mar 07 '24 10:03 laurent22

Hi,

Yesterday, while I was testing Joplin for the first time after importing my Evernote data, I noticed the problem in the rich editor.

I then installed a plugin (note tabs) and restarted Joplin, and the problem was no longer present. I'm also trying more and more to learn how to use the Markdown editor...

Here is my info if it helps:

Joplin 2.14.20 (prod, win32)

ID client : 773c93d7dee04e1289cb896f235df6a3 Version de Synchro : 3 Version du profil : 46 Trousseau supporté : Oui

Révision : cfd98e3

Backup: 1.4.0 Joplin Evernote Links Replacer: 1.0.0 (installed later) Note Tabs: 1.4.0

nonobio avatar Apr 07 '24 08:04 nonobio

Hi,

I still notice the problem from time to time, I have version 3.0.6. I use the Markdown editor exclusively (not beta). I will try to see if there are any conditions under which the problem occurs.

Joplin 3.0.6 (prod, win32)

ID client : 773c93d7dee04e1289cb896f235df6a3 Version de Synchro : 3 Version du profil : 47 Trousseau supporté : Oui

Révision : 18b9f5c

Backup: 1.4.1 Bidirectional Links: 0.1.2 Favorites: 1.3.2 Menu items, Shortcuts, Toolbar icons: 1.1.0 Note list and sidebar toggle buttons: 1.0.3 Note overview: 1.7.1 Note Tabs: 1.4.0 Outline: 1.5.13 Quick Links: 1.3.2 Rich Markdown: 0.15.0 Search & Replace: 2.2.0

nonobio avatar May 16 '24 14:05 nonobio

I also experience this exact problem. For me it happens extremely frequently, however it is tricky to reproduce. It makes it hard to use the program at all.

BigErn77 avatar May 19 '24 15:05 BigErn77