Community
Participate
Working Groups
If in a SWT app you have a swt broswer with a VML render inside the browser, when you try to close the app this dosn't close correctly, the shell disapair but the process in shelf keep open. A exampel of this problem witp a simple example: try { Display display = Display.getDefault(); Browseer shell = new Browseer(display, SWT.SHELL_TRIM); shell.open(); shell.setLayout(new FillLayout()); Browser browser = new Browser(shell, SWT.NONE); browser.setUrl("http://openlayers.org/dev/examples/gml-layer.html"); shell.layout(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } } catch (Exception e) { e.printStackTrace(); } This problen hapened with the 3.4 ant 3.5 version however look like that the version 3346 do not have this bug. We try to substitute the classes from org.eclipse.swt.browser from the 3346 to the newest version of swt libraris and it looks that solve the problem so i thing that the problem should be in some of the change made since then in this class. I apologize for my English, and I hope that someone could help me with this problem.
Changing Version tag to something more believable.
I'm not able to reproduce this with 3.5.x or the latest 3.6 content, I tried with the provided openlayers.org url and with http://www.gersolutions.com/vml/Default.aspx . Do you still see this problem with a recent eclipse build such as http://download.eclipse.org/eclipse/downloads/drops/S-3.6RC2-201005201744/index.php ? And if so, with which url?
Tried this again with the recent 4.3 release and the process still terminates fine for me, so it's impossible to investigate this further (or perhaps it has been fixed as a side effect of changes in SWT or IE). If the Eclipse/SWT 4.3 release still shows this problem for you, and you can identify something on your machine that could be causing it (eg.- an IE plug-in, an OS setting, etc.) then please follow up here. In the meantime, closing report.