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

Drag and drop image doesn't consistently insert it, sometimes does nothing #6055

Open
3 tasks done
hsandt opened this issue May 18, 2024 · 0 comments
Open
3 tasks done

Comments

@hsandt
Copy link

hsandt commented May 18, 2024

  • Searched existing issues to avoid creating duplicates.

  • Confirmed that it can be reproduced in built-in themes without customized css.

    If it only exists in 3rd party themes or css, you can still report it, but please attach the theme target or the css file. We may not "fix" it, if it is caused by 3rd party themes or css styles that we cannot support.

  • Searched http://support.typora.io/


Describe the bug
Dragging an image / picture to Typora doesn't work consistently. It fails silently with a variable percentage rate depending on the file (from 25% to 75%).

I thought it may be due to Typora not getting focus fast enough, but waiting some time before releasing mouse button to drop image doesn't consistently fix the issue either. I also tried to move the cursor to make sure to insert in some empty space (I can see the caret update live), but still no 100% fix.

To Reproduce
Steps to reproduce the behavior:

  1. Prepare a sample picture
  2. Open Typora on some new file
  3. Drag the sample picture to Typora. If it was properly inserted, Ctrl+Z to undo and repeat (or drag picture again just below)
  4. Repeat 3 until the drag and drop fails and nothing is inserted

Expected behavior
Pictures should consistently be added on drag and drop

Screenshots / Screencasts
Peek 2024-05-18 Typora drag and drop doesnt always work.webm

Sample Markdown File
Works with any file

Desktop (please complete the following information):

  • OS: Linux Ubuntu 22.04

Typora Version
1.7.6

Additional context
I'm working with statistics and I need to drag and drop a lot of pictures, so that makes me waste a lot of time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant