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

Bug 375963

Summary: [win32] IE Browser does not support 'Open in new tab' context menu option
Product: [Eclipse Project] Platform Reporter: Grace Lo <gracelo>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: grant_gayed, niraj.modi, Silenio_Quarti
Version: 4.2Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows All   
Whiteboard: stalebug

Description Grace Lo CLA 2012-04-03 11:20:58 EDT
Build Identifier: M20110210-1200

I have IE 9 installed on my machine.

With an implemented a SWT browser (default to IE), I set the URL to a valid URL, e.g., http://www.yahoo.com.  After the web page is shown on the browser, I click on any link.  It would open an external IE browser which supports tabs.   When I try to click on another link from the SWT browser, I see the "open in new tab" option is disabled.  If I click on that link, it would again open another external IE browser but not reuse the previously opened IE browser and open a new tab instead.

The "open in new tab" option should be available so new links can be opened on an existing IE browser instance.

Reproducible: Always

Steps to Reproduce:
1.Implement a SWT browser and set to a valid URL.
2.Run the application.  Click on a link from the opened web page from the SWT IE browser.   A new IE browser is opened for the link.
3. Click another link from the same web page on the SWT browser.  Another new IE browser instance is opened.
There is no support for opening a new tab on an existing IE browser.
Comment 1 Silenio Quarti CLA 2012-04-04 10:23:13 EDT
I believe this can be achieved by adding a OpenWindowListener listener and provide another browser instance. Grant to confirm.
Comment 2 Grant Gayed CLA 2012-04-04 10:57:39 EDT
The context menu is provided by IE, not by us.  I don't know if there's a way to influence IE to enable this menu item.
Comment 3 Niraj Modi CLA 2017-07-12 05:50:23 EDT
(In reply to Grace Lo from comment #0)
> Steps to Reproduce:
> 1.Implement a SWT browser and set to a valid URL.
> 2.Run the application.  Click on a link from the opened web page from the
> SWT IE browser.   A new IE browser is opened for the link.
> 3. Click another link from the same web page on the SWT browser.  Another
> new IE browser instance is opened.
Clicking on a link actually re-directs the page to the new link(Tried with Eclipse 'Internal Web Browser' and BrowserExample)

> There is no support for opening a new tab on an existing IE browser.
Yes, currently there's no support for 'Open in new tab' context menu option.
Comment 4 Eclipse Genie CLA 2020-02-27 08:40:25 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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.