Page 1 of 1

Opening pages in new browser tab rather than new window

Posted: Mon Oct 07, 2013 4:03 pm
by Xsharp
Hi,
When for example clicking on links like history execution or edit test case or execute test case from the test case assigned to me page, those new pages are always opened in a new windows browser.
is there any way to make them opening in a new tab on the same browser window?

Re: Opening pages in new browser tab rather than new window

Posted: Wed Oct 23, 2013 7:06 pm
by Xsharp
Come on guys! really no one of you can answer this question? should I post it some were else or is-it to obvious so I should't had have post it at all?
well still don't know how to do it. hop some one kindly helps.

Re: Opening pages in new browser tab rather than new window

Posted: Sat Oct 26, 2013 6:22 pm
by TurboPT
Xsharp wrote: ... is there any way to make them opening in a new tab on the same browser window?
Yes, but it will take some digging through the code for the alteration, and it will not be a trivial task, as there is no "toggle" to have it one way or the other.

The relative javascript involved is shared for [at least] links and button clicks throughout the app, which means, the handling would need to be split between the links and the buttons uses [plus any other app areas that would be impacted], AND insure that any place that relies on the changes all still work as expected.

I cannot speak for the TL dev team, but I believe this would be considered a low priority; however, you can add a feature request for this support to Mantis. As far as I know, it seems [based on a quick forum search, but I did not check Mantis] that this is the only post asking about opening other app pages in other tabs vs. other windows.

Some [newer] browsers have an option to open new windows in a tab instead, but there may be limitations, as noted in this Mozilla info concerning their feature:
Mozilla.org wrote: Open new windows in a new tab instead: This option controls whether links from other applications or from web pages which request to open them in new windows are opened in a new window or a new tab in the most recent window.
  • Note: If you have chosen to open pages in new tabs, Firefox will ignore this option and will open a new window from a link if the page author specified that the new window should have a specific size, because some pages can only be displayed correctly at a specific size.
Other than that, there may be a way to at least open some of those in the same parent frame, but I'm not 100% sure about the full ramificaiton of this change to elaborate on the details at the moment.

Re: Opening pages in new browser tab rather than new window

Posted: Sun Oct 27, 2013 9:48 am
by fman
Because 1.9.x uses session to convey some critic info like TestProjectID and TestPlanID, opening a feature in a new tab instead that reusing same window
will lead to a mess if people can change on both tabs testplan or testproject.
This is one reason IMHO to reject the request if ever will be opened on Mantis.