Cannot middle-click or control-click on embedded topics to open in new tab

(Barry van Oudtshoorn) #1

This is happening to me in Firefox.

If you middle-click or control-click on the title of a topic embedded in another, it doesn’t open in a new tab – instead, it replaces the current tab. It also seems to do a full load, rather than the normal AJAXy Discourse load.

In this video, I’ve middle-clicked; control-clicking behaves the same way.

CMD + click to open in new tab - not working in quoted posts / topic oneboxes
(Matt Palmer) #2

Oh wow, does the same thing in Chromium. That seems… suboptimal.

(Jeff Atwood) #3

This is usually easy to fix with markup, @techapj can you have a look?

(Mahya) #4

I also have this problem.

(Matt Palmer) #5

Yes, everyone has this problem.

(Régis Hanol) #7

Also doesn’t work for oneboxed links :arrow_down:

(Arpit Jalan) #8

Yes, this is happening for all internal oneboxed links which expands on click. Spent some time on it today, but can’t figure out a simple markup fix. This might be linked to our click tracking code. Will dig more into it.

(Jeff Atwood) #9

I can middle click just fine on that, the area I’ve outlined in the pink box, and it opens in a new tab for me:

So… how is this a bug, again? Only on certain browsers?

(Matt Palmer) #10

Must be a browser thing, because middle-clicking on the link you pink-boxed in zogstrip’s most recent post gives the behaviour originally described: doesn’t open a new tab, but instead loads the clicked link in the same tab. Just to be sure, I tried in an anon incognito window with all plugins disabled, still broken. I’m using Chromium 63.0.3239.84 on Linux, and I also I tried it in Firefox 52.5.2 (again on Linux) and it did the same thing.

(Jeff Atwood) #11

In Windows I can’t repro in Chrome, but I can in Firefox.

Right clicking and selecting “open in new tab” works in Firefox, though. Maybe do that, since there is an easy workaround? I don’t want @techapj to burn tons of time on this.

(Arpit Jalan) #12

Fixed via:

This was happening for all anonymous users (or logged in users with “Open all external links in a new tab” disabled) on all browsers. Hence the repro was inconsistent.

(Joshua Rosenfeld) #13

This topic was automatically closed after 29 hours. New replies are no longer allowed.