sagemathinc / cocalc

CoCalc: Collaborative Calculation in the Cloud
https://CoCalc.com
Other
1.17k stars 216 forks source link

strange error with crop image library for avatar images. #3420

Open haraldschilly opened 5 years ago

haraldschilly commented 5 years ago

I don't know what's causing this, but when moving with my cursor, I get a lot of these errors.

  | cropImage | @ | content-crop.js:115
-- | -- | -- | --
  | showCoords | @ | content-crop.js:240
  | update | @ | jquery.Jcrop.js:1002
  | selectDrag | @ | jquery.Jcrop.js:275
  | trackMove | @ | jquery.Jcrop.js:1178
  | dispatch | @ | jquery.js:5183
  | elemData.handle | @ | jquery.js:4991

screenshot from 2018-12-14 11-21-22

haraldschilly commented 5 years ago

After refreshing the page they're gone. At lest during the first 30 secs. Hmm …

williamstein commented 5 years ago

That looks like that horrible library for cropping avatar images that was added this summer... Last time I looked at it I, I wanted to remove it from cocalc for code quality issues -- even writing something from scratch would probably be better...

haraldschilly commented 5 years ago

Yes, also my first thought. I don't know what I did to trigger it... I haven't seen that error again yet either. I still found it worth to report.