Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Decorator on Connection moves weirdly after zooming diagram(Zoom creates problems)
icon4.gif  Decorator on Connection moves weirdly after zooming diagram [message #701648] Mon, 25 July 2011 11:50 Go to next message
Maqsood Ahmed is currently offline Maqsood AhmedFriend
Messages: 41
Registered: September 2010
Member
Hi all,

I have a graphiti diagram having decorators on connections.

When i move decorators(of Connection) at 100% diagram size, no problems exists, everything works.

Now i Zoom to say 200+% and try to get the decorators to original position,

These decorators tend to go to random places. Is it a bug? or is there some code

that needs to be done to make it work.

Regards,
Mak
Re: Decorator on Connection moves weirdly after zooming diagram [message #701759 is a reply to message #701648] Mon, 25 July 2011 14:47 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
If it behaves like that it is certainly a bug, but I was not able to see
that behavior in our test tools, e.g. the tutorial editor behaves as it
should.

Do you have a way how to reproduce? Or could it be that it is introduced by
a MoveFeature you introduced in you editor?

Michael
Re: Decorator on Connection moves weirdly after zooming diagram [message #702215 is a reply to message #701759] Tue, 26 July 2011 05:14 Go to previous messageGo to next message
Maqsood Ahmed is currently offline Maqsood AhmedFriend
Messages: 41
Registered: September 2010
Member
Hi Michael,

I am using DefaultMove Feature , coming from DefaultFeatureProviderWithPatterns
The problem exists,

Here's how to test,

1. Have a connection with Text decorator around its start/end

2. Move the decorator out of the container area into the canvas.(see P.S)

3. Zoom to 150/200 % + then try to get the decorator back to its original position.

P.S : The Connection connects two rounded rectangles existing in a large rounded rectangle .

Has anyone tried this??
Please tell me if its a bug from the framework , which i suspect .

Regards,
Mak

[Updated on: Mon, 08 August 2011 04:45]

Report message to a moderator

Re: Decorator on Connection moves weirdly after zooming diagram [message #704310 is a reply to message #702215] Thu, 28 July 2011 13:34 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Hi Maqsood,

can you strip that down to a reproducable example? If yes please open a
bugzilla for this and attach the example there.

Thanks,
Michael
Re: Decorator on Connection moves weirdly after zooming diagram [message #716500 is a reply to message #702215] Wed, 17 August 2011 15:03 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
I just tried this and was able to reproduce. This seems to be a bug in Graphiti. Could you please open a Bugzilla to track that?

Thanks,
Michael
Re: Decorator on Connection moves weirdly after zooming diagram [message #716667 is a reply to message #701648] Thu, 18 August 2011 03:29 Go to previous message
Maqsood Ahmed is currently offline Maqsood AhmedFriend
Messages: 41
Registered: September 2010
Member
Hi,

Thanks Micheal
Bugzilla Bug 355027.

Previous Topic:How to add different colors to same shape
Next Topic:Using user defined shapes in Graphiti
Goto Forum:
  


Current Time: Sat Apr 20 04:20:38 GMT 2024

Powered by FUDForum. Page generated in 0.03750 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top