Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 383732

Summary: DefaultBrowserSupport does not use style bit IWorkbenchBrowserSupport.STATUS for internal browsers
Product: [Eclipse Project] Platform Reporter: Pascal Alich <pascal>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: pwebster
Version: 3.6.2Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Pascal Alich CLA 2012-06-28 03:59:42 EDT
Build Identifier: 3.6.2

In the default implementation of IWorkbenchBrowserSupport the style bit IWorkbenchBrowserSupport.STATUS is not considered. This means that the the status bar updates are always performed for internal browsers.

I could track down the error to the class org.eclipse.ui.internal.browser.BrowserViewer which is a composite which itself does not respect if the STATUS flag is not set.

Reproducible: Always

Steps to Reproduce:
IWorkbenchBrowserSupport browserSupport = PlatformUI.getWorkbench().getBrowserSupport();
int style = IWorkbenchBrowserSupport.LOCATION_BAR | IWorkbenchBrowserSupport.NAVIGATION_BAR;
IWebBrowser browser = browserSupport.createBrowser(style, "myid", "myname", "mytooltip");
browser.openURL(new URL("http://www.eclipse.org"));
Comment 1 Eclipse Genie CLA 2019-12-18 09:56:04 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.