Bug 212479 [Browser] URL selection in Eclipse browser is not possible for documents or forms
Attempting to select a URL from the URL navigation drop down list is not possible if the current loaded page is a *.doc, *.frm, or *.xfdl file. As soon as the list is selected the currently loaded form reloads. Steps: 1. Open an html file in eclipse. 2. Once the browser is loaded, type in the location of a *.doc or *.frm file (eg. D:\Jonathan's Docs\test.doc or D:\Jonathan's Docs\test.frm) and press enter. 3. In the case of a document, select [Open] on the pop dialog to open. 4. The document or form will now be loaded in the browser. 5. Now attempt to select the drop down arrow of the URL navigation control to select a previously loaded page. 6. Note that as soon as you click on the drop down, the current document reloads leaving you no chance to make a selection.
bundles/org.eclipse.ui.browser/src/org/eclipse/ui/internal/browser/BrowserViewer.java
/**
 * A Web browser widget. It extends the Eclipse SWT Browser widget by adding an
 * optional toolbar complete with a URL combo box, history, back & forward, and
 * refresh buttons.
 * <p>
 * Use the style bits to choose which toolbars are available within the browser
 * composite. You can access the embedded SWT Browser directly using the
 * getBrowser() method.
 * </p>
 * <p>
 * Additional capabilities are available when used as the internal Web browser,
 * including status text and progress on the Eclipse window's status line, or
 * moving the toolbar capabilities up into the main toolbar.
 * </p>
 * <dl>
 * <dt><b>Styles:</b></dt>
 * <dd>LOCATION_BAR, BUTTON_BAR</dd>
 * <dt><b>Events:</b></dt>
 * <dd>None</dd>
 * </dl>
 * 
 * @since 1.0
 */
public class BrowserViewer extends Composite {
    /**
     * Style parameter (value 1) indicating that the URL and Go button will be
     * on the local toolbar.
     */
    public static final int LOCATION_BAR = 1 << 1;
    /**