Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connector between tow widget get shifted below #15

Open
GoogleCodeExporter opened this issue Jul 6, 2015 · 15 comments
Open

Connector between tow widget get shifted below #15

GoogleCodeExporter opened this issue Jul 6, 2015 · 15 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.In vertical panel added gwt links DiagramController
2.Added two label widgets in DiagramController. Two labels linked using 
connector.
3.Only IE 8 and 7 connector get shifted below label.

In other browser (FF, chrome) and also IE9 connector links/aligned properly.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
IE 8 and 7. I am using gwt-links 1.4.2

Please provide any additional information below.
If you change document mode from standard 8 to standard 7 and back to standard 
8 connector gets aligned properly.

Original issue reported on code.google.com by ksnachi...@gmail.com on 23 Jan 2012 at 12:10

Attachments:

@GoogleCodeExporter
Copy link
Author

Meta tag for standard mode already set in HTML page

Original comment by ksnachi...@gmail.com on 24 Jan 2012 at 9:10

@GoogleCodeExporter
Copy link
Author

Hey ! Have you try to test it on a real IE8 and a real IE7 ?

Compatibility mode is sometimes shitty !
I will take a close look at it.

Original comment by pierre.r...@gmail.com on 24 Jan 2012 at 9:22

@GoogleCodeExporter
Copy link
Author

I have tested it on IE8. But same issue persist.

Original comment by ksnachi...@gmail.com on 24 Jan 2012 at 9:26

@GoogleCodeExporter
Copy link
Author

try to run gwt-demo available in the sources.
is this example work for you ? http://gwt-links.appspot.com/

Original comment by pierre.r...@gmail.com on 24 Jan 2012 at 9:30

@GoogleCodeExporter
Copy link
Author

http://gwt-links.appspot.com/ does  not show any links.

When I create demo project using source available in source and run it in IE 8 
still link does not get connected properly.

Attaching screen shot for your reference.    

Original comment by ksnachi...@gmail.com on 24 Jan 2012 at 10:38

Attachments:

@GoogleCodeExporter
Copy link
Author

hi all,

I have the same problem with my demo also 

Original comment by rihab.sa...@gmail.com on 26 Jan 2012 at 3:03

@GoogleCodeExporter
Copy link
Author

Hello

I am also facing the same issue. I would appreciate it greatly if you could 
provide a solution for making this work with IE 8.

Thanks in advance.

Original comment by mpalshi...@gmail.com on 30 Jan 2012 at 8:04

@GoogleCodeExporter
Copy link
Author

i'll take a look at it quickly !
if any of you have the beginning of a solution, tell me ;)

Original comment by pierre.r...@gmail.com on 30 Jan 2012 at 8:06

@GoogleCodeExporter
Copy link
Author

I would appreciate it greatly if you could provide a solution for making this 
work with IE 8.

Thanks in advance 

Original comment by ksnachi...@gmail.com on 31 Jan 2012 at 5:36

@GoogleCodeExporter
Copy link
Author

Are able to take look this problem. I would appreciate greatly any help on this 
issue. 

Thanks in advance 

Original comment by ksnachi...@gmail.com on 6 Feb 2012 at 9:17

@GoogleCodeExporter
Copy link
Author

i tried to fix it for IE8 bug i cant find the problem. i keep searching
you can browse the source code to find how to fix that

Original comment by pierre.r...@gmail.com on 6 Feb 2012 at 9:21

@GoogleCodeExporter
Copy link
Author

Thanks for reply. Is Demo application working properly on you machine with IE 8 
browser? 

Original comment by ksnachi...@gmail.com on 6 Feb 2012 at 9:27

@GoogleCodeExporter
Copy link
Author

no it doesn't

Original comment by pierre.r...@gmail.com on 6 Feb 2012 at 9:29

@GoogleCodeExporter
Copy link
Author

I am seeing the same issue in Chrome (18.0.1025.162) on Linux

Original comment by luis.J.A...@gmail.com on 3 May 2012 at 12:43

@GoogleCodeExporter
Copy link
Author

The IExplorer problem is in the ClassnameContainerFinder class.
Try to override with this. I developed this "patch" and work fine in.

package com.orange.links.client.utils;

import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.Element;

public class ClassnameContainerFinder implements IContainerFinder {

    private static final String PARENT_CLASS_NAME = "dragdrop-boundary";

    @Override
    public boolean isContainer(Element element) {
        String classNames = DOM.getElementAttribute(element, "class");

        if ((classNames == null) || (classNames.isEmpty())) {
            classNames = element.getClassName();
        }
        return classNames.contains(PARENT_CLASS_NAME);
    }
}

Original comment by Axel...@gmail.com on 26 Jun 2012 at 4:44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant