annotorious-openseadragon icon indicating copy to clipboard operation
annotorious-openseadragon copied to clipboard

"Annotation deselect when selecting programmatically" fix in this plugin?

Open Neirokin opened this issue 2 years ago • 4 comments

I have the same problem (https://github.com/recogito/annotorious/issues/207) with this plugin. Have you added a fix here?

Neirokin avatar Aug 18 '22 03:08 Neirokin

Ok, weird. Although the consequence is the same, this issue is completely different internally. It looks like OpenSeadragon just stops firing events after programmatic selection (it's not even possible to navigate the image). I'll investigate.

rsimon avatar Aug 27 '22 07:08 rsimon

I still face this problem with the newest version on the main branch. After we call anno.selectAnnotation(annotationId), we can only interact with OSD when we hover the mouse over/click on the annotation. Can you please have a look again?

thanhhau097 avatar Sep 03 '22 17:09 thanhhau097

Yikes - looks like I had my testing set up incorrectly the last time. I think this should work now (after the commit above). But will need to check back more thoroughly later. I'm re-opening the issue.

rsimon avatar Sep 03 '22 17:09 rsimon

Thanks so much for a very quick fix. I tested it with my case and now it works well.

thanhhau097 avatar Sep 03 '22 17:09 thanhhau097