Skip to content

Incorrect icon sizing of BPMN 2.0 Gateways when dropped on rectangle via blue arrow #5081

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

Open
am3709 opened this issue May 21, 2025 · 0 comments

Comments

@am3709
Copy link

am3709 commented May 21, 2025

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.

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 report 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

When dragging an icon, such as a gateway, from the library onto a rectangle shape and dropping it via the blue arrow, the icon scales to match the height of the rectangle. Notably, this issue does not occur with event icons."

To Reproduce
Steps to reproduce the behavior:

  1. Open Draw.io and create a new diagram.
  2. Drag a rectangle shape onto the canvas.
  3. Select a gateway icon from the library.
  4. Drag the icon to the rectangle and hover until the blue arrow appears.
  5. Drop the icon using the blue arrow.
  6. Observe the size of the icon as it appears in the rectangle.

Expected behavior
The icon should retain its original size from the library, not scaling to fit the height of the rectangle

Screenshots

Image

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

  • draw.io version v27.0.5

Desktop (please complete the following information):

  • OS: Windows10
  • Browser: chrome
  • Browser Version 136.0.7103.114

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

Additional context
The issue occurs both in the web application and the standalone desktop version. This issue particularly affects BPMN 2.0 gateway icons when they are dropped through the blue arrow after hovering over a rectangle, contrasting with event icons that behave as expected.**

@am3709 am3709 changed the title Bug: Incorrect icon sizing of BPMN 2.0 Gateways when dropped on rectangle via blue arrow Incorrect icon sizing of BPMN 2.0 Gateways when dropped on rectangle via blue arrow May 26, 2025
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