This project has moved. For the latest updates, please go here.

Strange behavior of ConfigurationSectionShape

Nov 14, 2008 at 1:31 AM
Edited Nov 15, 2008 at 1:47 AM
Hi, guys.

First of all, thanks for the nice tool.

But I've come across a strange "bug" I think.

For instance: you have two ConfigurationElements (A and B). Then you add a property to the element A, say Prop1 and set its type to B, and a connection is created between them to making clear their relationship.

So far, so good.

The problem is that when you drag any of the element the shape for the element A will streach if the element B is at the right of the element A, and the property NameDecorator will be shown under the element A, if the element B is at the left of element A.

This behavior occurs either with the binary bit, as well as with the source code.

I've gone through the source code, but found nothing that would generate such behavior.

See the images linked below.

Elements A and B before dragging element B.
Elements A and B after dragging element B.


Paulo Santos

Nov 14, 2008 at 1:05 PM
This is a known issue (to me anyway), but unfortunately I also haven't found the cause of this strange rendering yet. It's on my list of things to look at but since it's really just a rendering issue (albeit a rather irritating one) I didn't put too much effort into it yet. But some day, I will :-) If you would happen to find it before that, please let me know :-)


Nov 15, 2008 at 1:46 AM

Hi, jelled

I understand... but it is really annoying.


Paulo Santos

Nov 19, 2008 at 10:53 PM
Hi, jelled.

Although I was not able to SOLVE the problem, I think I came up with a "good enough" workaround.

I've added a port shato to represent ElementProperty class and removed the custom parent of the ElementHasTypeConnector.

True, it's not pretty, but at least it does not have that very annoying behavior.


Paulo Santos