Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT.TRANSPARENT on linux?
SWT.TRANSPARENT on linux? [message #639794] Wed, 17 November 2010 19:44 Go to next message
JarradFriend
Messages: 1
Registered: November 2010
Junior Member
Hi,

We are developing an Eclipse based RCP app using SWT (3.5.x) for component rendering. When instantiating our Composite instances, we set (among other bits) the SWT.TRANSPARENT style bit.

When viewing on Windows (dev environment), the style performs as advertised, providing true transparency.

When deployed to Linux (SLES 10), the Composite is not transparent, and paints its background opaque.

Does SWT on Linux support the SWT.TRANSPARENT style? Are there certain X config settings that are needed to enable transparency on Linux?
Re: SWT.TRANSPARENT on linux? [message #639966 is a reply to message #639794] Thu, 18 November 2010 14:57 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2151
Registered: July 2009
Senior Member
Hi,

No, this is not currently expected to work on some platforms, it's an
incomplete implementation. This is indicated in the style bit's javadoc,
though it would have been better if the style had never been released, in
order to eliminate ambiguity caused by users seeing it work in some
contexts.

The feature request to complete this style's implementation is
https://bugs.eclipse.org/bugs/show_bug.cgi?id=295014 . This is not on the
Eclipse 3.7 plan, so it's not clear if/when this will happen.

Grant


"Jarrad" <gilesj@us.ibm.com> wrote in message
news:ic1b2d$g51$1@news.eclipse.org...
> Hi,
>
> We are developing an Eclipse based RCP app using SWT (3.5.x) for component
> rendering. When instantiating our Composite instances, we set (among other
> bits) the SWT.TRANSPARENT style bit.
> When viewing on Windows (dev environment), the style performs as
> advertised, providing true transparency.
> When deployed to Linux (SLES 10), the Composite is not transparent, and
> paints its background opaque.
>
> Does SWT on Linux support the SWT.TRANSPARENT style? Are there certain X
> config settings that are needed to enable transparency on Linux?
Previous Topic:label length within form toolkit
Next Topic:Nesting SWT Tables
Goto Forum:
  


Current Time: Sun Dec 17 19:45:47 GMT 2017

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

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