Bug 553257 - [StateMachineDiagram] Popup for creating or restoring transition
Summary: [StateMachineDiagram] Popup for creating or restoring transition
Status: NEW
Alias: None
Product: Papyrus
Classification: Modeling
Component: Diagram (show other bugs)
Version: 4.5.0   Edit
Hardware: PC Windows 10
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Patrick Tessier CLA
URL:
Whiteboard: S19
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-20 06:47 EST by Jeremie Tatibouet CLA
Modified: 2019-11-20 06:56 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremie Tatibouet CLA 2019-11-20 06:47:46 EST
Let consider the following situation : 
(1) A state machine diagram is open
(2) Two states A and B are shown on this diagram
(3) There is a transition from state A to state B

If at this point the user tries to add a additional transition from state A to state B then a dialog opens. This dialog ask the user if it is either required to create a new transition or to "restore" an existing transition. By "restore", the tool means that it already exists a transition from state A to state B and so asks the user a new transition should be created or it merely required to display the existing transition in the diagram.

This behavior looks useless and very confusing for final user for various reasons :
(1) If the user draws a new transition from state A to state B, this really means he / she wants it to be created and not "restored".
(2) If the user clicks on "restore" while the existing transition is already shown in the diagram then he / she will end up with two representations for the same transition.
(3) The word "restore" does not look appropriate since there is nothing to be restored. Indeed nothing was deleted and so nothing to be restored.

In short, the dialog should be removed since it does not help the user and worst introduce confusion.