SWT.TRANSPARENT on linux? [message #639794] |
Wed, 17 November 2010 19:44 |
Jarrad 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 |
Grant Gayed Messages: 2150 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?
|
|
|
Powered by
FUDForum. Page generated in 0.03754 seconds