Bug 494865 - Embedded IE Browser Control does not support opacity
Summary: Embedded IE Browser Control does not support opacity
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.6   Edit
Hardware: PC Windows 10
: P3 major with 3 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo, triaged
Depends on:
Blocks: 506521
  Show dependency tree
 
Reported: 2016-05-30 02:32 EDT by Dirk Fauth CLA
Modified: 2021-04-20 05:50 EDT (History)
6 users (show)

See Also:


Attachments
Sample RCP application with Browser to show opacity issue (10.79 KB, application/x-zip-compressed)
2017-07-10 08:57 EDT, Dirk Fauth CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Fauth CLA 2016-05-30 02:32:43 EDT
There is a similar ticket Bug 364743 that basically reports the same. But that ticket was originally created for Eclipse 3.8 and IE9.

I can still see that issue with Eclipse Neon RC2 and Microsoft Edge on Windows 10. If opacity is applied via CSS to images, the images are not shown at all.

I'm not sure if this is the same issue or a different one. I removed the key from the Windows Registry as supposed in Bug 440300, which doesn't change anything.

If I apply a specific compatibility like 

-Dorg.eclipse.swt.browser.IEVersion=9000

I can see the images, but I get other issues regarding Javascript executions. If I set the value to 10000 I get no errors regarding the Javascript, but I don't see the images.

I attached a small example in Bug 364743 that uses the Nebula RichText control as editor within NatTable.

If you start the example from within the IDE, everything looks good. If you export the example as Eclipse Application and start it via launcher, the icons are gone. If you start the example via 

java -jar plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar

the icons are visible again.

Honestly I'm not sure if this is an SWT or an Equinox Launcher issue. But I suppose this issue will come up more often when the RichText control gets used more often, e.g. Papyrus includes it in the upcoming release.
Comment 1 Vincent Lorenzo CLA 2017-07-07 10:11:13 EDT
This bug impact all the Richtext users (Nebula, NatTable, Papyrus, ...). 
As nobody answered it yet, I set it as critical hoping getting at least an answer for it.
Comment 2 Niraj Modi CLA 2017-07-10 03:04:22 EDT
(In reply to Dirk Fauth from comment #0)
> There is a similar ticket Bug 364743 that basically reports the same. But
> that ticket was originally created for Eclipse 3.8 and IE9.
> 
> I can still see that issue with Eclipse Neon RC2 and Microsoft Edge on
> Windows 10. If opacity is applied via CSS to images, the images are not
> shown at all.
Please throw details on how you are trying Eclipse along with "Microsoft Edge" combination together(because Edge browser desktop embedding is currently not supported in Windows 10 at this time.)

> I'm not sure if this is the same issue or a different one. I removed the key
> from the Windows Registry as supposed in Bug 440300, which doesn't change
> anything.
> 
> If I apply a specific compatibility like 
> 
> -Dorg.eclipse.swt.browser.IEVersion=9000
> 
> I can see the images, but I get other issues regarding Javascript
> executions. If I set the value to 10000 I get no errors regarding the
> Javascript, but I don't see the images.
No details w.r.t. to IE11, does it work ?

> I attached a small example in Bug 364743 that uses the Nebula RichText
> control as editor within NatTable.
Please share an SWT only snippet to reproduce the problem at our end.
You can build your scenario on top of any of the existing SWT Snippets:
https://www.eclipse.org/swt/snippets/
Comment 3 Dirk Fauth CLA 2017-07-10 08:57:23 EDT
Created attachment 269300 [details]
Sample RCP application with Browser to show opacity issue

(In reply to Niraj Modi from comment #2)
> Please throw details on how you are trying Eclipse along with "Microsoft
> Edge" combination together(because Edge browser desktop embedding is
> currently not supported in Windows 10 at this time.)

Sorry, I guess that was a wrong information from my side. When I created that ticket more than a year ago, I had the wrong understanding that Edge is the successor of IE and therefore no IE is available anymore. I learned that this is not the case. So forget about the Edge browser.

> No details w.r.t. to IE11, does it work ?

Same issue

> Please share an SWT only snippet to reproduce the problem at our end.
> You can build your scenario on top of any of the existing SWT Snippets:
> https://www.eclipse.org/swt/snippets/

Well afaiks an SWT only snippet does not bring up the issue. As explained in Bug 364743 the issue comes up when starting an exported Eclipse RCP application.

So we have three different behaviors when starting the exported RCP application differently:
1. from the IDE - no issues
2. via eclipse.exe - images with opacity are not shown at all
3. starting via 

java -jar plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar

instead of the icon a cross for broken image is shown.

The attached sample project shows the issue once you exported the application via Export product from the .product file.
Comment 4 Marco Descher CLA 2018-03-15 09:52:23 EDT
Currently facing this problem :(
Comment 5 Romain Bernard CLA 2020-03-18 08:03:26 EDT
Experiencing this problem too... :-(