| Summary: | drawLine in Windows moves things around | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Kresten Peter Vester <kresten+eclipse> | ||||||||
| Component: | GEF-Legacy Draw2d | Assignee: | gef-inbox <gef-inbox> | ||||||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | nyssen | ||||||||
| Version: | 3.7.1 | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows 7 | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
Created attachment 224791 [details]
With less lines
Created attachment 224792 [details]
With no lines
Well, what should I do with this? With the information you provided, there is no chance I can reproduce the issue. I will resolve this as worksforme. Please re-open and attach detailed steps to reproduce and/or some code snippet that shows what you are doing in detail. From what you describe (does not occur on Linux) I suppose its an SWT problem, so I would recommend to try to reproduce it with an SWT standalone snippet (drawing on the GC directly rather than using the Draw2d Graphics) first before we look into GEF code. |
Created attachment 224790 [details] With most lines drawn There are currently only very limited code I can provide to reproduce this issue. I have a very large canvas (). In that canvas things becomes unaligned when i draw a LOT of lines (20k+) (using org.eclipse.draw2d.Graphics.drawLine(int, int, int, int)) The issue is not reproducible on Linux. I attach screenshots to show the different results with lines drawn and not. Furthermore it is not an issue on zoom levels 4, 2, 1, 0.5