SWT GC Bug [message #963750] |
Tue, 30 October 2012 02:34 |
Matthew Dierker Messages: 3 Registered: October 2012 |
Junior Member |
|
|
Hello! I have a pretty basic table with GC rendering, and am encountering a funny bug, possibly related to clipping. See the screenshot below.
Between the Laser 6 row and Laser 7 row, the lines in both columns don't render. This is custom code, but there isn't anything that should cause this specifically.
If I select the row, the line appears.
If I scroll down to where I can't see the line, and scroll back up, it's generally fixed.
If I scroll right, then left, the line has appeared as far as I've moved left (but not all the way.) And it's never consistent.
Any ideas, or ways to better code using GC that might not have this problem?
|
|
|
Re: SWT GC Bug [message #966070 is a reply to message #963750] |
Wed, 31 October 2012 18:37 |
Grant Gayed Messages: 2150 Registered: July 2009 |
Senior Member |
|
|
It looks like an swt bug, I wonder if there's a rounding error
somewhere. I've tried a few changes to your snippet but none of them
are working around the problem. Please log a report with swt at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform&component=SWT
and include your snippet that shows the problem.
Thanks,
Grant
On 10/29/2012 10:52 PM, Matthew Dierker wrote:
> Hello! I have a pretty basic table with GC rendering, and am encountering a funny bug, possibly related to clipping. See the screenshot below.
>
>
>
> Between the Laser 6 row and Laser 7 row, the lines in both columns don't render. This is custom code, but there isn't anything that should cause this specifically.
>
> If I select the row, the line appears.
> If I scroll down to where I can't see the line, and scroll back up, it's generally fixed.
> If I scroll right, then left, the line has appeared as far as I've moved left (but not all the way.) And it's never consistent.
>
> Any ideas, or ways to better code using GC that might not have this problem?
>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02692 seconds