Open frankbenoit opened 5 years ago
Thank you for reporting the issue!
I was looking into it and this should be a bug in GEF that only happens when panning is aborted due to the internal AnimationTimer not being stopped. The timer calls updateScrollPosition() leading to the exception. I created Bugzilla https://bugs.eclipse.org/bugs/show_bug.cgi?id=541744 to keep track of the issue.
In order to resolve the issue, we need to stop the AnimationTimer when the panning handler is aborted.
However, I wonder why the handler is aborted without the viewer losing focus. So you would need to verify if panning works for you or if it stops randomly (due to the handler being aborted).
I recorded a screencast that reproduces the problem:
I had a same issue. It may be focus problem. In my case, it was fixed by this commit.
When i start the SimpleMindMapApplication and i use the keyboard arrow keys, left/right the view is moving left right. But after some key presses, the console prints endless stacktraces.
Is this an error in the application or in GEF? I use GEF 5.0.1