Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT GC Bug(Rendering bug in GC where some random lines of pixels don't render)
SWT GC Bug [message #963750] Tue, 30 October 2012 02:34 Go to next message
Matthew Dierker is currently offline Matthew DierkerFriend
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.

index.php/fa/12130/0/

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 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2151
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?
>
Re: SWT GC Bug [message #966071 is a reply to message #966070] Wed, 31 October 2012 18:39 Go to previous messageGo to next message
Matthew Dierker is currently offline Matthew DierkerFriend
Messages: 3
Registered: October 2012
Junior Member
Thanks for checking! I logged a bug a while before posting this (https://bugs.eclipse.org/bugs/show_bug.cgi?id=392924) but no one appeared to be looking at it. Is there anything else we can do to encourage someone from the SWT team to look at the bug?

[Updated on: Wed, 31 October 2012 18:39]

Report message to a moderator

Re: SWT GC Bug [message #966087 is a reply to message #966071] Wed, 31 October 2012 18:48 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2151
Registered: July 2009
Senior Member
Not really, other than voting for it. SWT's resources are limited, and
priority is given to bugs and work items based on their perceived
severity/benefit.

Grant


On 10/31/2012 2:39 PM, Matthew Dierker wrote:
> Thanks for checking! I logged a bug a while before posting this
> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=392924) but no one
> appeared to be looking at it. Is there anything else we can do to
> promote someone from the SWT team to look at this?
Re: SWT GC Bug [message #966088 is a reply to message #966087] Wed, 31 October 2012 18:52 Go to previous message
Matthew Dierker is currently offline Matthew DierkerFriend
Messages: 3
Registered: October 2012
Junior Member
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!
Previous Topic:SWT 4.2.1 and Windows 8
Next Topic:How to disable text in a multi-line text box
Goto Forum:
  


Current Time: Thu Dec 18 15:29:57 GMT 2014

Powered by FUDForum. Page generated in 0.05817 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software