Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Browser widget does not display image that uses opacity from css
Browser widget does not display image that uses opacity from css [message #1711701] Mon, 19 October 2015 07:32 Go to next message
Eclipse UserFriend
I have a RCP application that uses SWT Browser image to display a webpage that has Img elements for which opacity is set using css. I use SWT 3.8.1 and what is strange about the issue is that it cannot be reproduced using the Browser widget snippets when running with the same version of SWT.

Question about inspecting what happens - can you recommend any particular tools that you found useful in similar cases? Any advice that could point a way to start solving this is appreciated.
Re: Browser widget does not display image that uses opacity from css [message #1712042 is a reply to message #1711701] Wed, 21 October 2015 00:48 Go to previous messageGo to next message
Eclipse UserFriend
Hi Kris,
Please try with latest version of Eclipse SWT 4.5.1:
http://download.eclipse.org/eclipse/downloads/drops4/R-4.5.1-201509040015/#SWT
Re: Browser widget does not display image that uses opacity from css [message #1712052 is a reply to message #1712042] Wed, 21 October 2015 02:28 Go to previous messageGo to next message
Eclipse UserFriend
Target platform of the application is version 3.8.1, would an update of SWT only be a valid option?
Re: Browser widget does not display image that uses opacity from css [message #1712062 is a reply to message #1712052] Wed, 21 October 2015 03:27 Go to previous message
Eclipse UserFriend
The strange thing is that the page can be displayed correctly using this snippet http://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet128.java.
And here SWT 3.8.1 is used and that works - all image elements are rendered correctly with opacity. So probably the Browser widget inside the RPC application is missing some configuration?

It was identified that the image elements that disappear use this css
.dxm-disabled img {
opacity: 0.4;
filter: alpha(opacity=40);
}
Previous Topic:Shortcut key for combobox?
Next Topic:SWT Browser on Windows
Goto Forum:
  


Current Time: Tue Jul 15 00:56:07 EDT 2025

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

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

Back to the top