Bug 199661 - No scrollbars for linux browser using XULRunner
Summary: No scrollbars for linux browser using XULRunner
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.3   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
: 150020 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-11 23:05 EDT by John Huss CLA
Modified: 2008-05-05 12:20 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Huss CLA 2007-08-11 23:05:25 EDT
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:
Comment 1 Grant Gayed CLA 2007-08-22 15:10:55 EDT
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 ();
}
Comment 2 Grant Gayed CLA 2007-08-27 15:52:44 EDT
*** Bug 150020 has been marked as a duplicate of this bug. ***
Comment 3 Grant Gayed CLA 2008-05-05 12:20:50 EDT
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.