New state created via CTRL+click appears offset from cursor position #2140
Replies: 7 comments 18 replies
-
|
@vikash1703 thx for reporting this problem. As this is a clear issue in our current implementation please directly create an issue from it. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the confirmation. I’ve created a formal issue in the tracker with detailed reproduction steps. I’m unable to add labels from my side — could you please add them if appropriate? |
Beta Was this translation helpful? Give feedback.
-
|
Hi @azoitl I’ve started exploring the codebase for this issue and trying to understand where the offset behavior might be coming from. Could you please suggest which part of the code or module I should focus on for this fix? Also, I’d appreciate any guidance on what I should work on next to improve my chances for GSoC selection. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
@azoitl |
Beta Was this translation helpful? Give feedback.
-
|
Hi @azoitl I have downloaded the Siemens tool and am currently exploring its features. I am checking what can be added to ECC, including different themes and color options. Also, I have created a pull request for the documentation. Best regards, |
Beta Was this translation helpful? Give feedback.
-
|
Hi @azoitl I have made progress on the state and transition creation task within the ECC Editor. Here is the current status: Fixed (State Offset): I successfully fixed the state placement offset. By using translateToRelative(location) in the ECCEditorEditDomain, new states are now placed accurately under the cursor instead of being shifted. Stuck (Transition Drag): I am using the default transition creation logic, but I'm facing a visual lag. The transition line stays "stuck" or frozen during the drag phase. Question regarding Root Cause: Could you suggest if there is a specific class in the default ECC transition logic (like TransitionNodeEditPolicy) that I should look into to optimize this visual lag? |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
When using the CTRL (Command on macOS) + click shortcut to create a new state during a transition drag in the ECC editor, the newly created state does not appear at the cursor release location. Instead, it is placed slightly offset above or below the expected position.
Steps to reproduce:
Start dragging a transition between two states
Press CTRL (Command on macOS) and click on an empty area of the canvas
Release the mouse and observe the new state position
Expected behavior:
The new state should appear exactly at the cursor click/release location.
Actual behavior:
The state appears offset from the intended cursor position.
Environment:
macOS
This behavior is reproducible across multiple attempts and may be related to coordinate or placement handling.

Beta Was this translation helpful? Give feedback.
All reactions