Closed jbfaden closed 2 years ago
This shows how the arrow should be drawn during the drag:
20200528a is okay, 20200605a shows the bug.
Mouse drag renderers must return a MouseDragEvent. Before was okay to return null, but appearently something else needed a tighter spec, and an error was thrown. See stderr output where messages about "dragRenderer isUpdatingDragSelection()==True, but no dragEvent was produced" are posted.
See also the bug in Autoplot https://sourceforge.net/p/autoplot/bugs/2400/
Ali pointed out about a month ago that when the annotations are told to point at something, the drag renderer which shows the arrow during the drag doesn't draw. This is also the case for the move annotation mouse module. I was looking into this now, and I found that it's because getMouseDragEvent in ArrowDragRenderer returns null, when others return something here. Experimenting with this, I found that simply returning "new MouseDragEvent(source)" will allow it to work as I remember.
I found that v2020a_1 works fine, and v2021a_1 shows the bug. I will improve the resolution here shortly to isolate the change.