Bug 199364 [Browser] Internal Web Browser get pop up with the address bar empty
The internal web browser poped up when triggered with this code IWorkbenchBrowserSupport browserSupport = MyPlugin.getDefault() .getWorkbench().getBrowserSupport(); browser = browserSupport.createBrowser(IWorkbenchBrowserSupport.LOCATION_BAR, null, null, null); URL url = new URL(inURL); browser.openURL(url); The browser works fine, but the address bar is empty at the initial stage and need to drop down it to view the URL and set it.
bundles/org.eclipse.ui.browser/src/org/eclipse/ui/internal/browser/BrowserViewer.java
* Style parameter (value 2) indicating that the toolbar will be available
     * on the web browser. This style parameter cannot be used without the
     * LOCATION_BAR style.
     */
    public static final int BUTTON_BAR = 1 << 2;
	 
	 protected static final String PROPERTY_TITLE = "title"; 
    private static final int MAX_HISTORY = 50;
    public Clipboard clipboard;
    public Combo combo;
    protected boolean showToolbar;
    protected boolean showURLbar;
    protected ToolItem back;
    protected ToolItem forward;
    protected BusyIndicator busy;
    protected boolean loading;
    protected static java.util.List history;
    protected Browser browser;
    
    protected BrowserText text;
    protected boolean newWindow;
    protected IBrowserViewerContainer container;
    protected String title;
    protected int progressWorked = 0;
	 
	 protected List propertyListeners;
    /**
     * Under development - do not use
     */
    public static interface ILocationListener {