CSAILVision / LabelMeAnnotationTool

Source code for the LabelMe annotation tool.
MIT License
1.38k stars 434 forks source link

Display problems in Chrome 69 #94

Closed themaikelman closed 5 years ago

themaikelman commented 5 years ago

It seems that from the Chrome 69 the images do not show well, load correctly but you can barely see a square of 1px where the image should be

Has anyone else found this same problem? With Chrome 68 and Firefox 47 it is displayed correctly...

Thanks in advance

linusmartensson commented 5 years ago

Same issue here, @atekoa

Clearing the cache with Ctrl+F5 instead of simply F5 seems to reload the view correctly once. It seems like the CSS isn't updated correctly when it changes early? Any CSS change in the chrome console brings back the editor. Might be a chrome issue.

srvanderplas commented 5 years ago

I'm having this issue as well. I believe it also happens on Safari. Anyone have any clue how to fix the LabelMe backend so that this doesn't happen?

themaikelman commented 5 years ago

I solved it by adding the following code main_media.Zoom ('adjusted'); on line 101 in the File https://github.com/CSAILVision/LabelMeAnnotationTool/blob/master/annotationTools/js/image.js

srvanderplas commented 5 years ago

That didn't work for me; with the addition of that line, the picture no longer loads at all.

On Fri, Nov 16, 2018 at 2:37 AM atekoa notifications@github.com wrote:

I solved it by adding the following code main_media.Zoom ('adjusted'); on line 101 in the File

https://github.com/CSAILVision/LabelMeAnnotationTool/blob/master/annotationTools/js/image.js

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/CSAILVision/LabelMeAnnotationTool/issues/94#issuecomment-439320517, or mute the thread https://github.com/notifications/unsubscribe-auth/ACB1FQtBx_FL4CQMFVQLp7N-XvdCfXj4ks5uvnlFgaJpZM4WhZeo .

themaikelman commented 5 years ago

Check also this: commit/facb876341f58188173175e2d68a9282a7e15824

srvanderplas commented 5 years ago

That one did it even in absence of the change you suggested. Thanks!

On Tue, Nov 20, 2018 at 5:56 AM atekoa notifications@github.com wrote:

Check also this: commit/facb876341f58188173175e2d68a9282a7e15824 https://github.com/CSAILVision/LabelMeAnnotationTool/commit/facb876341f58188173175e2d68a9282a7e15824

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/CSAILVision/LabelMeAnnotationTool/issues/94#issuecomment-440247854, or mute the thread https://github.com/notifications/unsubscribe-auth/ACB1FbtQsXVdtRd4vHq5jp8Qd_N60TLxks5uw-3ngaJpZM4WhZeo .