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

Unintuitive Drag Behaviour #1922

Closed
2 tasks done
hendrysudrajat opened this issue Dec 3, 2024 · 4 comments
Closed
2 tasks done

Unintuitive Drag Behaviour #1922

hendrysudrajat opened this issue Dec 3, 2024 · 4 comments

Comments

@hendrysudrajat
Copy link

Preflight Checklist

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

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

Describe the bug
A clear and concise description of what the bug is.
Previously, to drag the canvas, I can press and hold the right mouse button, and once I am done just release.
Now, to start drag, click the right mouse button, and to stop dragging click on the left mouse button.

To Reproduce
Steps to reproduce the behavior:

  1. Right click and hold the mouse button, Canvas won't move
  2. When you let go of the right mouse button, canvas will move and jump to the current mouse position
  3. To stop dragging, need to click on the left mouse button

Expected behavior
A clear and concise description of what you expected to happen.
Press and hold right mouse button should start dragging the canvas. When done dragging, just release the right mouse button

Screenshots
If applicable, add screenshots to help explain your problem.

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

  • draw.io version 25.0.1

Desktop (please complete the following information):

  • OS: Windows, MacOS, Linux...

Additional context
Add any other context about the problem here.

@hendrysudrajat
Copy link
Author

In addition, because the right mouse button is now used to trigger the start of the drag, the context menu is now gone.

@alderg
Copy link
Contributor

alderg commented Dec 3, 2024

What operating system and version are you using? Are you using a touchpad, touch screen, pen or other special pointer device?

@alderg
Copy link
Contributor

alderg commented Dec 3, 2024

Fix will be in 25.0.2.

@davidjgraph
Copy link
Contributor

Caused electron/electron#44898. Reverting electron from 32.2.6 to 32.2.5 fixes the problem.

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

3 participants