nebomuk / scxmlgui

Automatically exported from code.google.com/p/scxmlgui
0 stars 0 forks source link

"target" transition attribute not being added #71

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Draw a transition without going exactly from origin state's graphical center 
to destination's graphical center (Obviously not missing them)
2.
3.

What is the expected output? What do you see instead?
The transition should add attribute "target" to transition element, even if the 
drawn transition didn't reach the destination state center, and it does't seem 
the case, the attribute "target" is not added even if I go from state to state, 
and the line es correctly drawn between states.

What version of the product are you using? On what operating system?
Trunk jar downloaded mid march.

Please provide any additional information below.

Original issue reported on code.google.com by bonn...@gmail.com on 22 Mar 2013 at 8:27

GoogleCodeExporter commented 9 years ago
hi, i cannot reproduce this problem. What java version are you using?
Does the created edge move when you move the target node?
Can you create a proper edge in other ways?
Can you maybe attach a short video of what you do to create the edge and the 
dump to console that happens when you save the file? (run the jar from console)

thanks

Original comment by fmorbini on 22 Mar 2013 at 8:50

GoogleCodeExporter commented 9 years ago
Ok, I discovered a more reduced scope, this occurs when I copy and paste a 
state, and create a transition between the state and its copy without changing 
the new state name. Then if I change the copied state name, or even  if I 
change the transition name after changing the copied state name, the target 
attribute is never added again. I have to re-create the transition having the 
destination state changed in order to have the "target" attribute. 

Original comment by bonn...@gmail.com on 22 Mar 2013 at 9:30

GoogleCodeExporter commented 9 years ago

Original comment by fmorbini on 22 Mar 2013 at 11:44