Ckeditor5: Browser freezes after dropping the image to the editor from the files browsing window

Created on 1 Feb 2018  ยท  4Comments  ยท  Source: ckeditor/ckeditor5

๐Ÿž Is this a bug report or feature request? (choose one)

  • Bug report

๐Ÿ’ป Version of CKEditor

Latest master.

๐Ÿ“‹ Steps to reproduce

  1. Go to http://localhost:8125/ckeditor5-easy-image/tests/manual/easyimage.html.
  2. Click on the insert image icon.
  3. Drag the image to the editor.
  4. Close the window.

โœ… Expected result

The image has been inserted and editor works fine.

โŽ Actual result

The image has been inserted, but the browser freezes.

๐Ÿ“ƒ Other details that might be useful

Notes

This bug is pretty random, I wasn't able to find any dependency while it occurred. Basically, I am able to reproduce this issue only in Chrome and on Windows. Sometimes it occurs after first d&d, sometimes after 10th and sometimes just doesn't occur.

Drag and drop upload from the desktop works fine, so it looks like problem occurs only when image is dragged from the files browsing window.

GIF

bug_cke5

Other information

OS: Windows 10
Browser: Chrome

chrome bug

All 4 comments

That's a nasty one. It means that users might lose their content.

cc @Reinmar

@Mgsy is it a regression? If not, is it possible to bisect it?

This is not a regression and I believe it occurs since the upload plugin has been introduced. After small investigation I can point some old commits:

This bug is easier to reproduce when you test it in the upload image manual test. My browser freezes every time after second d&d from the dialog. Still, I'm able to reproduce it only in Chrome on Windows.

Checked it once again and it seems like Chrome is working fine now, no freezing.
However I'm not able to drag&drop the image in Firefox at all (only on Win).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MansoorJafari picture MansoorJafari  ยท  3Comments

hamenon picture hamenon  ยท  3Comments

pandora-iuz picture pandora-iuz  ยท  3Comments

Reinmar picture Reinmar  ยท  3Comments

jodator picture jodator  ยท  3Comments