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

The sidebar library & shape picker Alt+click handlers seem to be broken #4720

Open
2 tasks done
FarSeeing opened this issue Oct 24, 2024 · 0 comments
Open
2 tasks done

Comments

@FarSeeing
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.

If you are technical, you should reporting bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.

Describe the bug
Both sidebar library and a shape picker for the selection use the same toolip that states "Click or drag and drop shapes. Shift+click to change selection. Alt+click to insert and connect."
There are 2 issues here:

  • Alt seems to be ignored in the shape picker click handler
  • Alt clicks on the sidebar library elements work in 50% cases only

To Reproduce
Steps to reproduce the behavior:

  1. Create a diagram
  2. Add any shape on it
  3. Select this shape and hover to enable shape picker
  4. The tooltip for this picker states that you need to Alt+click the element, instead just click it and verify that the new elements gets inserted & connected
  5. Now hover over the sidebar library header, the same tooltip states that when you Alt+click an element - it gets inserted & connected,
  6. Alt+click any element, verify that nothing happens
  7. Alt+click this element again, verify that the shape gets inserted (but not connected)

Expected behavior
The mention of the Alt should be corrected/removed.

Screenshots
alt-tooltip

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

  • draw.io version 24.8.2

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Browser Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:

  • yes

Additional context
The keyboard shortcuts description is even more confusing
image

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