Clicking a link that opens in a new tab spawns two tabs
Steps to reproduce:
Does not happen always, but frequently for me. I have noticed these conditions.
- Use tree style vertical tabs.
- Click on a link on a page to open children pages.
- Sometimes, the children tab entries are duplicated.
Example. Only the entry is duplicate in the open tabs view. It does NOT open 2 identical tabs. If you scroll down in one tab, and then view the other one, it would already be scrolled. If you close 1, the other will also close. It's just a visual issue I think.
Steps to reproduce:
cmd -click a link and 2 tabs are opened. Closing one closes them both.
Expected behavior:
a single new tab should open
Orion, OS version; hardware type:
Orion: Version 0.99.114.1-rc (WebKit 614.1.12)
MacOS: 12.4 M1-MBA
Image/Video:
Same here, in some cases. Not always reproducible.
I am getting double tabs pretty much all the time, search something in Kagi and then two tabs open up.
Happens to me always when clicking on a link with a target="_blank"
attribute.
Fixed, thanks Vlad
- Edited
Steps to reproduce:
Middle click on a link on any webpage. Didnt use compatibily mode, safari only opens the page once.
EDIT: Apparently not all links get opened twice. The link i tried is on https://nixos.org "Anouncement" in the top right corner.
Expected behavior:
Open the link in a new tab once
Orion, OS version; hardware type:
Orion 0.99.114.1-beta
macOS 12.4
macbook air m1
Try to update to Version 0.99.115-beta (check for updates) and see if the problem is still there?
- Edited
vordenken
I can confirm that the https://nixos.org announcement link still opens twice on Orion Version 0.99.115-rc (WebKit 614.1.12). I haven't been able to find any other links that have this issue. Additionally, the https://nixos.org issue is present even when tabs are displayed on top.
edit: this issue also exists on Firefox so it's probably an issue on nixos' end
Vlad Could you elaborate? I tried this in other browsers (chromium) and safari - they dont behave like this. The sourcecode only shows a basic href to a new tab?
<div class="action">
<a target="_blank" href="/blog/announcements.html#nixos-22.05">Announcement</a>
</div>
- Edited
vordenken The page code has this
$(".clickable-whole").each(function () {
// Make the whole thing act as if it was clicked.
$(this).on("click", function () {
$(this).find("a, button").first()[0].click();
});
});
which is firing another click event on click which is really weird but that's what they want to do
(this is from Orion dsicord https://discord.com/channels/802933355603034132/908580964488323102/982371341246291989 )
Orion and Firefox behave correctly, Chrome and Safari don't.
Oh wow... thanks for the info!