drawio-desktop icon indicating copy to clipboard operation
drawio-desktop copied to clipboard

unexpected shape position after dragging

Open lvmm opened this issue 4 years ago • 1 comments

Preflight Checklist

  • [x] I agree to follow the Code of Conduct that this project adheres to.
  • [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug Position of the shape being dragged relative to mouse pointer may change unexpectedly and by quite some distance.

To Reproduce Steps to reproduce the behaviour:

  1. enable outline
  2. place circle and triangle close to each other
  3. place square 5 A4 pages down
  4. start dragging triangle down, immediately move mouse pointer below the bottom canvas (main window) edge to the tab bar and keep it completely stationary while holding the mouse button down and looking at the outline
  5. as soon as view port rectangle in the outline window reaches the bottom shape (square) release mouse button

Many things go wrong: rectangle in the outline windows suddenly jumps back, there is no square on the canvas - it was never reached, and triangle is dropped somewhere else completely - not near the square, not on the screen and not in the outline rectangle. If you put more shapes on the screen to make it easier to keep track of things it becomes apparent that rectangle in the outline window moves much faster than the canvas is scrolling.

Alternative to step 5: instead of releasing the button move mouse pointer sharply straight up back to the canvas. If you do it right, you end up still dragging the triangle but with gigantic offset to the mouse pointer - somewhere beyond the visible portion of the canvas.

Expected behaviour Triangle should've been dropped on visible part of the canvas or where the mouse pointer is. Outline window and canvas should scroll in sync.

draw.io version (In the Help->About menu of the draw.io editor):

  • draw.io version 14.6.13

Desktop (please complete the following information):

  • OS: windows 10-64

Additional context i5-8265U with intel video, if it is performance-related

lvmm avatar Jul 22 '21 13:07 lvmm

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. See the FAQ for more information.

stale[bot] avatar Jul 22 '22 14:07 stale[bot]