|DefaultConnectionEditPolicy not respecting scroll? [message #1740386]
||Fri, 12 August 2016 13:29
| Aurélien Pupier
Registered: July 2009
Location: Grenoble, FRANCE
We, Fuse Tooling team, are implementing the insert of a Node on a Connection.
The cursor feedback was often disabled when there is a scrollbar on the editor.
From what I understood during my investigation, it seems that the DefaultConnectionEditPolicy is not taking care of the ViewPort Scroll.
I'm wondering if I'm right. Who is responsible to do the translation? The location of the CreateRequest? The DefaultConnectionEditPolicy when calling org.eclipse.graphiti.ui.internal.services.IGefService.findEditPartAt(EditPartViewer, Point, boolean) here http://git.eclipse.org/c/graphiti/org.eclipse.graphiti.git/tree/plugins/org.eclipse.graphiti.ui/src/org/eclipse/graphiti/ui/internal/policy/DefaultConnectionEditPolicy.java#n167 ? or directly the .IGefService.findEditPartAt ?
I am a bit confused. It seems very strange for me that this issue was not found by someone else before. In which case the DefaultConnectionEditPolicy is called exactly? i would like to check that I don't break anything. or maybe, I did something bad elsewhere which can explain my issue, in this case, does someone have some ideas?
You can see my PR trying to fix on my own project the issue: https://github.com/lhein/fuseide/pull/25
If I really found a bug, I can report a bug and provide a gerrit change.
regards and thanks by advance for any help
Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
Powered by FUDForum
. Page generated in 0.01426 seconds