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

macOS build: cursor is misaligned with the canvas location passed to minsky when we 'click' on the canvas #360

Open
aleith opened this issue Feb 12, 2023 · 0 comments

Comments

@aleith
Copy link

aleith commented Feb 12, 2023

Basic Info:
This only applies to the macOS builds (as far as I know).
Applies to latest release build 3.0.0 and beta version 3.1.0-beta.10

With regard to clicking to drag on ports & wires, and clicking and releasing to select nodes/objects/wires on the canvas, it seems that the canvas location passed to minsky when we 'click' on the canvas (left or right click) or 'click & drag' on the canvas is not aligned to the cursor icon on screen. The gap is in the vertical dimension only, and is so far below the cursor "hotspot" (conventionally the tip of the black arrow and one pixel inside the white boarder) that it makes for very confusing and frustrating interactions with the canvas nodes for the unwitting (read novice user).

Severity of bug / How it effects users:
As a first time used in several years, I spent 30 minutes in a class I was trying to lead introducing fellow students to minsky wondering what was going on that I couldn't drag the output of a Parameter node to a graph input. So pretty bad until I twigged, but under pressure to show people features I soldiered on and we shared a PC user's screen instead.
I realised soon after when we ended the Zoom call, but even knowing this bug, it's tricky to adapt to it.

Steps to reproduce:

  1. Attempt to click and drag from the output port (indicated with a black circle outline) of any node to drag out a wire.
  2. Typically you will miss the circle in terms of the returned x/y location pair and if you are unlucky you may have been unwittingly in the bottom right "stretch node" target area and the result is a stretched node which you have to undo and reattempt to grab the wire from the output port.

Workaround:

  1. move cursor to output port.
  2. move it up until the "resize" hint disappears.
  3. click and drag and hopefully you adjusted your bow and arrow for the wind by just the right amount ;-)

Documentation
Movie demo of this and other related issues here:
https://www.icloud.com/iclouddrive/096n82w-GXMbJxOpetcx9-2iQ

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

1 participant