autonome / alwaysright

Browser extension that always opens new tabs immediately to the right of the active tab.
https://addons.mozilla.org/en-us/firefox/addon/always-right/
28 stars 5 forks source link

Inconsistent background tab placement #20

Closed monk-time closed 6 months ago

monk-time commented 6 years ago

By default Firefox always opens links opened from the same tab in background (with a middle click or through a context menu → Open Link in New Tab) next to each other in the order of opening, until the user switches to another tab. So if my current tabs are [a] b with a active, and I open tabs 1 2 3 in that order, I'll get [a] 1 2 3 b. Similarly a [b]a [b] 1 2 3. That's the default FF behavior since version 3.6.

Always Right preserves this very convenient behavior (and AFAICT is the only WE of its kind that does so) almost always except when opening links from the last tab : [a] b[a] 1 2 3 b a [b]a [b] 3 2 1 And this is rather buggy too: a [b] 3 2 1 is what I get if I open links fast enough, but if any of the opened bg tabs has time to load while I open other tabs, the add-on switches to the default ordering, which is very confusing: a [b]a [b] 3 4 5 2 1.

Here's how it looks:

2017-11-20_18-32-32

I would love if Always Right could always preserve the default FF behavior re: opening links in bg from the same tab no matter where or how fast they were opened.

FF57, fresh profile, no other extensions/settings.

Keith94 commented 6 years ago

Should be fixed in the latest version of Always Right if you're using Firefox Nightly.

autonome commented 6 months ago

The implementation and even underlying Firefox extension APIs are all different now. Please reopen if you're still seeing this!