Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selected python box moves to new position by click rather than dragging #65

Open
jharaldson opened this issue May 19, 2015 · 1 comment

Comments

@jharaldson
Copy link

The phenomena occurs only at startup and the first box that is selected. After being moved this behavior is not seen again. It does not apply to all boxes, seems to apply to Python boxes.

Test case:
Actions:

  1. Open Field
  2. Click Python box
  3. Click with mouse pointer on another part of the Field window
    Results:
  4. Box is moved to the position of the mouse pointer
@marcdownie
Copy link
Member

I think what's happening here is that the first click on Python box is expensive (that's when all the classes for Jython are loaded). Click and drag over that and it looks like the box isn't moving (because everything is paused waiting for Jython) and then the box jumps somewhere random with the mouse-up. I'll try booting Jython in a background thread on launch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants