Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
My Onshape - Open In New Browser Tab - DON'T Navigate to New Tab.
owen_sparks
Member, Developers Posts: 2,660 PRO
Hi folks.
Often I'll start my day by going to "My Onshape" and opening the documents I wish to use be selecting "Open in New Browser Tab". I'll want to open a bunch of them...
I find it annoying that as soon as I open the new tab OnS navigates away from My Onshape and to the new tab so there's load of switching forwards and backwards.
I'd like the option to open the new tabs, but not navigate to them please.
Cheers,
Owen S.
Business Systems and Configuration Controller
HWM-Water Ltd
HWM-Water Ltd
Tagged:
5
Comments
It seems that if you ctrl+click the link, it opens in a new tab and does not switch to it.
IR for AS/NZS 1100
HWM-Water Ltd
With chrome:
- Click to open into current window
- Shift click to open and move focus into new window
- Ctrl click to open into new tab but keep focus on current
Add these to extra mouse buttons 👌
HWM-Water Ltd
Middle click does not work for opening document tabs in new tabs, but ctrl+click does.
Why is that?
IR for AS/NZS 1100
For example switching to a part from an assembly:
What is special about the links in the context menu above vrs this one for example
Without actually looking into the code I suspect that the ones it works on are html <a> tags (in other words, hyperlinks disguised with some nice styling), and the ones that it doesn't work on are just buttons with a click handler that invoke some piece of javascript that eventually switches tabs or opens a new browser tab. So basically the difference is whether we've implemented some custom behavior for what is being clicked, or whether we're just providing a clickable link and the browser is handling the behavior.
Why are some menus html tags, and others buttons?
Not saying you are doing things wrong, (how would I know) Now it's just to satisfy my curiosity
Something that says "open in new browser tab" has to open a new tab anyway, so we cannot get around having to do a full load. The easiest way to handle this is to just let the browser do it.
Hopefully this is useful? Always happy to help sate some curiosity!