I created an SWT sample that captures an image from SWT Browser using 'browser.print()' method. It works fine. I guess it means there is no issue with SWT. Here is the sample: import org.eclipse.swt.SWT; import org.eclipse.swt.browser.Browser; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.graphics.GC; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import...
Thank you for your help! I will try to update the drivers. By the way I also noticed the same issue on bootcamp Windows 10 on MacBook Pro 2017.
I forgot to mention that I tested it with SWT versions 4.5 and 4.12. Both versions behave the same.
Black rectangle when capturing screen in JWebBrowser