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

PR to fix the wrong border node location creation problem 2 #434

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

mypsycho
Copy link

@mypsycho mypsycho commented Aug 1, 2024

Bug: #396
Complement of #404.

Draft :
org.eclipse.sirius.tests.swtbot.BorderedNodeCreationTest#testBNC_OnVStackContainer() is still failing but
with expected:<Point(393.0, 445.0)> but was:<Point(384.0, 410.0)>
instead of expected:<Point(393.0, 445.0)> but was:<Point(153.0, 326.0)>
The shift may come from the assertion targeting the wrong container.

lredor and others added 5 commits May 24, 2024 17:32
DRAFT: No fully sure of the impact of added test in the subclasses. Must
be verify after merged.

Bug: eclipse-sirius#396
Remove parameter in private method that is always true.
Code has leftovers after some refactoring.
Such nodes may be border nodes.
They require layout data on container to be placed.
@lredor
Copy link
Contributor

lredor commented Sep 12, 2024

The cleanup commits have been copied into PR #455. A slightly different approach has been chosen in the PR #455 instead of the commit "[396] Add LayoutData when creating node in Stack Container." proposed in the current PR.
The current PR will be closed/abandoned if all validation steps will be OK for PR #455.

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

Successfully merging this pull request may close these issues.

3 participants