SWT GC Bug [message #963750] |
Mon, 29 October 2012 22:34  |
Eclipse User |
|
|
|
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 14:37   |
Eclipse User |
|
|
|
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?
>
|
|
|
|
|
Re: SWT GC Bug [message #966088 is a reply to message #966087] |
Wed, 31 October 2012 14:52  |
Eclipse User |
|
|
|
That's fair. I guess I'll try to step through it sometime in SWT's source, but I doubt I'm going to be able to fix it. Definitely not a serious bug, but it's going to annoy me while developing this software which I'm working with for the next few months.
Thanks for your help!
|
|
|
Powered by
FUDForum. Page generated in 0.42801 seconds