Bug 582156 - Border nodes creation with container with internal compartment
Summary: Border nodes creation with container with internal compartment
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 7.1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-30 05:24 EDT by Florian Barbin CLA
Modified: 2023-07-03 03:30 EDT (History)
1 user (show)

See Also:


Attachments
Use case (9.53 KB, application/zip)
2023-06-30 05:24 EDT, Florian Barbin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Barbin CLA 2023-06-30 05:24:04 EDT
Created attachment 289126 [details]
Use case

Applying a border node creation tool on a container with an internal compartment (vertical stack for instance) is difficult: the area where the creation tool is thin, you need to be on the border behind the container label.

To make it easier to apply the creation tool, you can add the internal compartment as extra mapping and adapt the tool to retrieve the parent container. 

The problem with this solution is that the border node is not created at the closest location where we clicked but at the first free space from the top-left corner.

Steps to reproduce:

* Import the given test case
* Open the diagram (you will se two packages containers)
* Apply the eClass creation tool on the buttom right corner of one of them
* KO => the border node is created at the top-left corner.
Comment 1 Florian Barbin CLA 2023-06-30 05:25:17 EDT
> the area where the creation tool is thin, you need to be on the border behind the container label.

I meant the are where the creation tool can by applied is thin