joplin icon indicating copy to clipboard operation
joplin copied to clipboard

Backspace + letter causes note to scroll to the top

Open pssandhu opened this issue 3 years ago • 39 comments

Environment

Joplin version: 2.6.10 appimage Platform: Linux OS specifics: Linux Mint 20.2 (base: Ubuntu 20.04)

Steps to reproduce

  1. Have a long note, it should be over 1 screen long
  2. At the bottom of the note, press backspace + a letter at exactly the same time (might take a couple attempts but it is repeatable)
  3. The text cursor and note view move to the start of the note

Describe what you expected to happen

Text cursor should stay at the original position. The backspace and letter presses should also be handled in whatever the correct manner is.

Logfile

Nothing appears in the console when this happens.

pssandhu avatar Jan 06 '22 23:01 pssandhu

I couldn't replicate the issue on Kubuntu 21.04 either in Rich Text editor nor CodeMirror. Does it happen with clean installation? Could you share a note where this issue occurs for certain? Does safe mode makes any difference?

graphit0 avatar Jan 11 '22 22:01 graphit0

It doesn't happen in safe mode or on a clean install. I have no plugins installed and it only happens in the markdown editor. So I was able to narrow it down to having the "Enable spell checking in Markdown editor" option enabled.

It happens in any note e.g. the Welcome to Joplin note. Which format should I use to export a note to share here?

pssandhu avatar Jan 11 '22 23:01 pssandhu

Could be an additional behaviour of #4924.

For the information: With the spellchecker on, I could replicate the behaviour on "5. Privacy" welcome note.

graphit0 avatar Jan 12 '22 10:01 graphit0

It sounds similar to that issue, as well as #5899. However, I can't reproduce either of those.

pssandhu avatar Jan 12 '22 11:01 pssandhu

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? 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 Feb 11 '22 16:02 github-actions[bot]

Shoo bot

pssandhu avatar Feb 11 '22 19:02 pssandhu

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? 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 Mar 14 '22 16:03 github-actions[bot]

Still an issue

pssandhu avatar Mar 14 '22 17:03 pssandhu

I'm also getting this bug and can reliability replicate it using Espanso. Espanso replaces text by rapidly backspacing and injecting new text which is essentially what triggers this bug. I initially reported it over at Espanso because I thought it was an issue on their side. On further investigation though, I found that turning off the spell check in Joplin's markdown editor eliminates the issue.

@pssandhu and @graphit0 if you want to reliably trigger this bug, try using Espanso with Joplin.

Some further details

For this bug to occur, it does not have to be on a long note nor does it have to be at the bottom of the note.

The only requirements are:

  1. Spellchecking is enabled in the markdown editor
  2. You rapidly backspace and then type a character.

Example

espanso joplin

Backspace/injection delay

One interesting thing I noticed was that delaying the backspace and injection of the character by a certain amount (using backspace_delay and inject_delay in Espanso config) fixed the issue. It also seemed to be affected by system resource usage since upon restarting my computer I had to use a different amount of delay to fix the issue. Perhaps if the system load is high, Joplin might not be able to process the input data fast enough. One other thing to note was that delaying backspace/injection only worked on my Linux laptop not my Windows laptop. Not sure why.

Peek 2022-03-24 16-02

shbach avatar Mar 24 '22 23:03 shbach

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? 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 Apr 24 '22 16:04 github-actions[bot]

Keep open

pssandhu avatar Apr 24 '22 16:04 pssandhu

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 May 26 '22 16:05 github-actions[bot]

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.

Still an issue

shbach avatar May 26 '22 17:05 shbach

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 Jun 26 '22 16:06 github-actions[bot]

Still not fixed

shbach avatar Jun 27 '22 21:06 shbach

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 Jul 28 '22 16:07 github-actions[bot]

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.

Still a very annoying bug having something to do with the spell check.

shbach avatar Jul 28 '22 18:07 shbach

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 Aug 29 '22 16:08 github-actions[bot]

Keep

pssandhu avatar Aug 29 '22 16:08 pssandhu

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 Sep 29 '22 16:09 github-actions[bot]

Still an issue

pssandhu avatar Sep 29 '22 18:09 pssandhu

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 Oct 31 '22 16:10 github-actions[bot]

Keep this open please

pssandhu avatar Oct 31 '22 16:10 pssandhu

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 02 '22 16:12 github-actions[bot]

Keep

pssandhu avatar Dec 02 '22 17:12 pssandhu

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 02 '23 16:01 github-actions[bot]

Still an issue

pssandhu avatar Jan 02 '23 17:01 pssandhu

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 Feb 02 '23 16:02 github-actions[bot]

Still an issue

shbach avatar Feb 02 '23 17:02 shbach

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 Mar 06 '23 16:03 github-actions[bot]