laurent22 / joplin

Joplin - the privacy-focused note taking app with sync capabilities for Windows, macOS, Linux, Android and iOS.
https://joplinapp.org
Other
46.1k stars 5.02k forks source link

Backspace + letter causes note to scroll to the top #5969

Closed pssandhu closed 1 year ago

pssandhu commented 2 years ago

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.

graphit0 commented 2 years ago

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?

pssandhu commented 2 years ago

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?

graphit0 commented 2 years ago

Could be an additional behaviour of #4924.

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

pssandhu commented 2 years ago

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

github-actions[bot] commented 2 years ago

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.

pssandhu commented 2 years ago

Shoo bot

github-actions[bot] commented 2 years ago

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.

pssandhu commented 2 years ago

Still an issue

shbach commented 2 years ago

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

github-actions[bot] commented 2 years ago

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.

pssandhu commented 2 years ago

Keep open

github-actions[bot] commented 2 years ago

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.

shbach commented 2 years ago

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

github-actions[bot] commented 2 years ago

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.

shbach commented 2 years ago

Still not fixed

github-actions[bot] commented 2 years ago

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.

shbach commented 2 years ago

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.

github-actions[bot] commented 2 years ago

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.

pssandhu commented 2 years ago

Keep

github-actions[bot] commented 2 years ago

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.

pssandhu commented 2 years ago

Still an issue

github-actions[bot] commented 2 years ago

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.

pssandhu commented 2 years ago

Keep this open please

github-actions[bot] commented 1 year ago

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.

pssandhu commented 1 year ago

Keep

github-actions[bot] commented 1 year ago

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.

pssandhu commented 1 year ago

Still an issue

github-actions[bot] commented 1 year ago

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.

shbach commented 1 year ago

Still an issue

github-actions[bot] commented 1 year ago

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.

shbach commented 1 year ago

Still an issue

github-actions[bot] commented 1 year ago

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.

shbach commented 1 year ago

Still not fixed

github-actions[bot] commented 1 year ago

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.

shbach commented 1 year ago

Not fixed

github-actions[bot] commented 1 year ago

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.

shbach commented 1 year ago

Still not fixed...

github-actions[bot] commented 1 year ago

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.

pssandhu commented 1 year ago

Still an issue

github-actions[bot] commented 1 year ago

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.

Rolograaf commented 1 year ago

Could somebody give this bug a little more prio? It is super annoying while typing halfway in a long note that half of the word is suddenly completely on the top of the note. It even happens that scrolling with the mousewheel to find the old cursorposition, it fly's up again.

github-actions[bot] commented 1 year ago

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.

shbach commented 1 year ago

Still an issue

Rolograaf commented 1 year ago

👍 3 times today with latest stable

julien-me commented 1 year ago

For what it's worth I can't replicate it on macOs, even with espanso

Joplin version: 2.12.17 Platform: macOS OS specifics: Ventura 13.5.2

shbach commented 1 year ago

For what it's worth I can't replicate it on macOs, even with espanso

Joplin version: 2.12.17 Platform: macOS OS specifics: Ventura 13.5.2

Do you have spell check enabled?

julien-me commented 1 year ago

Do you have spell check enabled?

Yes. Here's a recording.

https://github.com/laurent22/joplin/assets/32807437/c0ba9e79-f6ca-4428-9acb-801e7e9688e7

shbach commented 1 year ago

Ok so I just tested on version 2.12.17 and I'm also no longer seeing the issue both on Windows and Linux. Looks like it is fixed at least for my case.

github-actions[bot] commented 1 year ago

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] commented 1 year ago

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, feel free to create a new issue with up-to-date information.