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
/**
     *
     */
    public void dispose() {
        super.dispose();
        showToolbar = false;
        if (busy != null)
            busy.dispose();
        busy = null;
        browser = null;
        text = null;
        if (clipboard!=null)
        	clipboard.dispose();
        clipboard=null;
        removeSynchronizationListener();
    }
    private ToolBar createLocationBar(Composite parent) {
        combo = new Combo(parent, SWT.DROP_DOWN);
        updateHistory();
        combo.addSelectionListener(new SelectionAdapter() {
            public void widgetSelected(SelectionEvent we) {
                try {
                    if (combo.getSelectionIndex() != -1 && !combo.getListVisible()) {
                        setURL(combo.getItem(combo.getSelectionIndex()));
                    }
                } catch (Exception e) {
                    
                }
            }
        });