google-code-export / gwt-links

Automatically exported from code.google.com/p/gwt-links
2 stars 0 forks source link

Rendering connections when in a scrollpanel draws connections misaligned #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.add the gwt links DiagramControllerto a tab panel and with a scrollbar

Entrypoint
    TabPanel
       ScrollPanel
           VerticalPanel
                Horizontal panel with buttons ( toolbar )
                DiagramController

The graph will render with the connections mis-aligned ( apparently relative to 
the Scroll panel and not the vertical panel

A graph will render properly WITHOUT the scroll panel however with the scroll 
panel the connections are not draw properly.

See attached example screenshot

What version of the product are you using? On what operating system?
Using gwt-links 1.3 and this is evident in all versions of Firefox and IE

Original issue reported on code.google.com by mike.new...@gmail.com on 19 Jul 2011 at 8:22

Attachments:

GoogleCodeExporter commented 9 years ago
This problem has been fixed in the source code.
The release 1.4 will be out today, please retest once the library will be 
released.

Original comment by pierre.r...@gmail.com on 20 Jul 2011 at 7:41

GoogleCodeExporter commented 9 years ago
The release 1.4 is out ;)

Original comment by pierre.r...@gmail.com on 20 Jul 2011 at 8:04

GoogleCodeExporter commented 9 years ago
Hi - I tested again using the latest build and the problem is still evident.

It appears the connections are being drawn with a vertical offset that somehow 
has added the parent offset within the scrollpanel. The attachment shows the 
lines being 'shifted' - they are in fact being drawn as segments between 2 
points that have been shifted to compensate for the offset of the view within 
the parent panel.

Also - please note the scroll panel is outside the diagram. It is not the 
scroller that is built into the DiagramController and instead scrolls around 
the DiagramController and the other UI elements ( buttons etc )

Original comment by mike.new...@gmail.com on 26 Jul 2011 at 3:40

Attachments:

GoogleCodeExporter commented 9 years ago
A new release is out and we hope this issue is finally solved.
Please, let us know the results when you test it.

Original comment by ismaelma...@gmail.com on 15 Sep 2011 at 3:56

GoogleCodeExporter commented 9 years ago
We also are experiencing the same issue in the release 1.4.2

Original comment by bwen...@gmail.com on 6 Feb 2012 at 12:17

GoogleCodeExporter commented 9 years ago
The problem persists in version 1.4.2.

Original comment by vemcas...@gmail.com on 3 Apr 2012 at 10:35

GoogleCodeExporter commented 9 years ago
any fixes for this one ? 1.4.2 still has this 

Original comment by postvi...@gmail.com on 7 Apr 2013 at 9:52