Bug 514616 - [Tooling] Pre-created state does not resize automatically
Summary: [Tooling] Pre-created state does not resize automatically
Status: NEW
Alias: None
Product: Papyrus-rt
Classification: Modeling
Component: tool (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows 7
: P3 normal
Target Milestone: Future   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-03 03:25 EDT by Peter Cigehn CLA
Modified: 2017-04-06 14:56 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Cigehn CLA 2017-04-03 03:25:53 EDT
The state that is pre-created in a state-machine (together with the initial pseudo-state and the initial transition), does not resize automatically if the state is given a longer name. Other states created in a state-machine gets automatically resized, when the name of the state (or for example some internal transitions with longer transition names, are added to the state).

Steps to reproduce:

1) Create a UML-RT model based on the "UML-RT for C++" template
2) Create a capsule in this model
3) Create a state-machine for this capsule
4) Open the state-machine diagram
5) Rename the pre-created "State1" into a longer name like "StateWithLongName"
6) Observe how the name gets "cut off" with "..." and the state shape is not automatically resized to accommodate the longer name.
7) Create another state and rename that one "AnotherStateWithLongName".
8) Observer how the state shape was automatically resized to accommodate the longer name and that it was not "cut off" with "..." as for the pre-created state.

This partly defeats the purpose of the pre-created elements to get the user "up to speed" with creating a new state-machine, if the user anyway have to manually resize the state shape to accommodate longer state name.