Community
Participate
Working Groups
Build ID: 3.3.0 Steps To Reproduce: On linux, (ubuntu 7), when I create a browser with style SWT.MOZILLA and use xulrunner 1.8.1.3 for the basis, the scrollbars don't appear when they should. If I add SWT.V_SCROLL to the style I see scrollbars, but they don't work - they don't affect the viewport. But if I create the browser without the SWT.MOZILLA style and use Firefox as the basis, then the scrollbars work correctly (as historically they always have). More information:
Changing from Browser style SWT.MOZILLA to SWT.NONE should not make a difference by itself on linux, other than indicating a willingness to use mozilla/firefox if a xulrunner cannot be detected. The following snippet prints to stdout the native renderer that the Browser is using. To ensure that there aren't any incorrect assumptions being made up front, can you run it to verify your two scenarios? public static void main (String [] args) { Device.DEBUG = true; final Display display = new Display (); final Shell shell = new Shell (display); shell.setBounds(10,10,200,200); Browser browser = new Browser(shell, SWT.MOZILLA); browser.setBounds(10,10,150,150); browser.setUrl("eclipse.org"); shell.open (); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); }
*** Bug 150020 has been marked as a duplicate of this bug. ***
Timed out, closing report. If you still see this problem with a recent build like http://download.eclipse.org/eclipse/downloads/drops/S-3.4M7-200805020100/index.php then please reopen with additional info, thanks.