Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor moves to top of note after image paste #4591

Closed
smiller86 opened this issue Feb 23, 2021 · 9 comments
Closed

Cursor moves to top of note after image paste #4591

smiller86 opened this issue Feb 23, 2021 · 9 comments
Labels
bug It's a bug medium Medium priority issues

Comments

@smiller86
Copy link

Environment

Joplin version: 1.7.11
Platform: Windows
OS specifics: Windows 10

Steps to reproduce

  1. Copy part of the screen or an image using snipping or snapshot tool in Windows or similar software like PDF viewer
  2. Paste the image into a note using WYSIWYG editor
  3. Cursor is then found at the beginning of the note

Describe what you expected to happen

I expect the cursor to either highlight the pasted item or be placed immediately after the pasted item. The latter is consistent with pasted text behavior.

Logfile

@smiller86 smiller86 added the bug It's a bug label Feb 23, 2021
@lbo34
Copy link

lbo34 commented Mar 4, 2021

I found it it is not only when pasting. Very often cursor moves to the top and I have not identified why...

@lbo34
Copy link

lbo34 commented Mar 4, 2021

I already started a thread for this which was closed: https://discourse.joplinapp.org/t/when-typing-cursor-suddenly-jumps-to-top/14482?u=lbo34

But I still have the problem with Joplin 1.7.11 (prod, darwin)

@lbo34
Copy link

lbo34 commented Mar 5, 2021

I believe I have this behaviour only when the export to RStudio button is activated

@yu-soong
Copy link

I also found that the cursor moved to the top several times. I am using Windows 10

@roman-r-m roman-r-m added the medium Medium priority issues label Mar 19, 2021
@coderrsid
Copy link
Contributor

Yeah, i can reproduce this issue. I am working on this. Thanks.

@coderrsid
Copy link
Contributor

coderrsid commented Mar 22, 2021

I realised that every time the note is schedule saved with pasted image, the cursor moves to the top position. @roman-r-m , can you please check if that's true, maybe some previous release had some changes like this?

@roman-r-m
Copy link
Collaborator

@roman-r-m , can you please check if that's true

If you say you can reproduce, I believe you :)

@coderrsid
Copy link
Contributor

Even, it happens when you just delete the image from the note, the cursor goes to the top.

@roman-r-m
Copy link
Collaborator

@Siddharth6121 just noticed that your PR has your dev branch as target, should be the dev branch in this repo instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug medium Medium priority issues
Projects
None yet
5 participants