Skip to main content



      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 13:03 Go to next message
Eclipse UserFriend
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 03:37 Go to previous messageGo to next message
Eclipse UserFriend
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 05:49 Go to previous messageGo to next message
Eclipse UserFriend
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 17:07 Go to previous messageGo to next message
Eclipse UserFriend
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 17:08 Go to previous messageGo to next message
Eclipse UserFriend
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 18:44 Go to previous messageGo to next message
Eclipse UserFriend
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] Mon, 26 January 2015 19:18 Go to previous message
Eclipse UserFriend
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: Fri Jul 04 22:35:56 EDT 2025

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

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

Back to the top