Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » First row not drawn on SWT Table + OS X 10.10 Yosemite
First row not drawn on SWT Table + OS X 10.10 Yosemite [message #1562432] Tue, 13 January 2015 18:03 Go to next message
Jim Klo is currently offline Jim KloFriend
Messages: 49
Registered: September 2012
Member
Greetings,

I've got an issue that has arisen on OS X 10.10 (Yosemite) when using the SWT Table (JFace TableViewer).

When I initially display the table with new data, the first row of data is not drawn. If one resizes the widget (either by resizing the panel or column), the row is then drawn.

This only happens on OS X 10.10, not on Windows 7, Linux, or prior versions of OS X.

Can anyone shed any light on how I might resolve this?
Re: First row not drawn on SWT Table + OS X 10.10 Yosemite [message #1563514 is a reply to message #1562432] Wed, 14 January 2015 08:37 Go to previous messageGo to next message
Jim Klo is currently offline Jim KloFriend
Messages: 49
Registered: September 2012
Member
Okay, I found a solution.

table.getParent().redraw() after packing the columns solves the problem.
Re: First row not drawn on SWT Table + OS X 10.10 Yosemite [message #1563698 is a reply to message #1562432] Wed, 14 January 2015 10:49 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
https://bugs.eclipse.org/bugs/show_bug.cgi?id=446534

Tom

On 13.01.15 19:03, Jim Klo wrote:
> Greetings,
>
> I've got an issue that has arisen on OS X 10.10 (Yosemite) when using
> the SWT Table (JFace TableViewer).
>
> When I initially display the table with new data, the first row of data
> is not drawn. If one resizes the widget (either by resizing the panel
> or column), the row is then drawn.
>
> This only happens on OS X 10.10, not on Windows 7, Linux, or prior
> versions of OS X.
>
> Can anyone shed any light on how I might resolve this?
Re: First row not drawn on SWT Table + OS X 10.10 Yosemite [message #1586483 is a reply to message #1563514] Mon, 26 January 2015 22:07 Go to previous messageGo to next message
Jim Klo is currently offline Jim KloFriend
Messages: 49
Registered: September 2012
Member
Actually not... the proposed workaround works sometimes.
Re: First row not drawn on SWT Table + OS X 10.10 Yosemite [message #1586484 is a reply to message #1563698] Mon, 26 January 2015 22:08 Go to previous messageGo to next message
Jim Klo is currently offline Jim KloFriend
Messages: 49
Registered: September 2012
Member
Thanks Tom.

Looks promising, but looks like the solution is to update to the latest 4.4 framework?
Re: First row not drawn on SWT Table + OS X 10.10 Yosemite [message #1586604 is a reply to message #1586484] Mon, 26 January 2015 23:44 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
At least to the latest SWT bits - they are backwards compat with 3.x so
you can even drop the new binaries in a 3.x RCP

Tom

On 26.01.15 23:08, Jim Klo wrote:
> Thanks Tom.
> Looks promising, but looks like the solution is to update to the latest
> 4.4 framework?
Re: First row not drawn on SWT Table + OS X 10.10 Yosemite [message #1586648 is a reply to message #1586604] Tue, 27 January 2015 00:18 Go to previous message
Jim Klo is currently offline Jim KloFriend
Messages: 49
Registered: September 2012
Member
Thanks again. Is there a guide somewhere on how to update SWT within and RCP application? It's not exactly clear to me how I would do this since I'm used to just declaring the plug-in dependency and it just works. Similarly, it would have to work with Tycho.

Thomas Schindl wrote on Mon, 26 January 2015 18:44
At least to the latest SWT bits - they are backwards compat with 3.x so
you can even drop the new binaries in a 3.x RCP

Tom

Previous Topic:Value hidden with unfocused Text with Search feature on OS X 10.10 Yosemite
Next Topic:ColorDialog that supports alpha
Goto Forum:
  


Current Time: Thu Mar 28 20:35:44 GMT 2024

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

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

Back to the top