Links don't open in a new tab

AI-generated summary

Users are discussing an issue where links do not open in a new tab despite the setting being enabled in v1.9.0.beta12 +21. jonobacon reports the problem occurs in both new topics and replies, affecting multiple users. cpradio clarifies that the setting is a user-level preference, not a global one, and does not apply retroactively to existing accounts, which may explain the issue. jonobacon confirms testing on new posts still shows the problem and questions whether this behavior should be considered a bug. cpradio reiterates that the setting is a default for new accounts only, while pfaffman notes that changing users’ preferences is considered poor practice, suggesting manual updates via a Rails command for new forums.

Currently using v1.9.0.beta12 +21 in a deployment and have the option checked to open links in a new tab and it opens in the same tab.

I am testing this in Chrome on a Mac. The issue occurs in both starting posts in a new topic and replies.

Anyone else seeing this?

From memory there is a site setting and an individual user setting for this. Are both set to open in new windows?

I believe so. The site setting is definitely enabled and I haven’t configured this differently for my account and other users on the forum are experiencing this too.

What do you mean by this? As the setting is for external links to open in new tabs. Not every link.

Also, did you enable that setting after the others accounts were created? As it doesn’t backfill, they would still need to update their own preference, the global setting only impacts new accounts created.

I mean that if an external link is shared in the opening post in a topic or an external link is shared in a subsequent reply, the problem still applies.

I tested on new posts after I changed the setting and the problem was there (but to your point, if accounts are not updated, it would remain the same behavior). I will check for new accounts (I did a bunch of invites today I can test). I will follow up after I have a chance to check.

As a side note, if accounts are not updated with this setting, should this be considered a bug? I would have expected accounts to reflect global policy.

Thanks.

There lies the rub, it isn’t a global setting. It is a default setting for newly created accounts.

How links open is a personal preference.

You can issue a rails command to change them all, especially if it’s a new forum, but it’s bad manners to change people’s settings from what they’ve chosen.