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

2.0 - New tab moves to the beginning of the visible tab bar #8

Closed r-a-y closed 6 months ago

r-a-y commented 7 years ago

In the new WebExtension version, opening a new tab has the effect of moving the tab bar to the first position of the new tab.

For example, let's say tab 12 is the active tab:

| tab 10 | tab 11 | tab 12 (active) | tab 13 | tab 14... 30 |

If I open a new tab, then the tab bar becomes:

| tab 13 (new tab) | tab 14 | tab 15 | tab 16 | tab 17... 30 |

I much prefer the older XUL method of the tabbar not moving:

| tab 10 | tab 11 | tab 12 | tab 13 (new tab) | tab 14 | tab 15... 30 |

A similar addon has the same problem. This is probably a limitation of the new WebExtension API, but thought I'd post an issue about this.

autonome commented 7 years ago

Whoa, thanks Ray! Which version do you have? 2.0.2? And which OS? On Tue, May 9, 2017 at 23:24 r-a-y notifications@github.com wrote:

In the new WebExtension version, opening a new tab has the effect of moving the tab bar to the first position of the new tab.

For example, let's say tab 12 is the active tab:

| tab 10 | tab 11 | tab 12 (active) | tab 13 | tab 14... 30 |

If I open a new tab, then the tab bar becomes:

| tab 13 (new tab) | tab 14 | tab 15 | tab 16 | tab 17... 30 |

I much prefer the older XUL method of the tabbar not moving:

| tab 10 | tab 11 | tab 12 | tab 13 (new tab) | tab 14 | tab 15... 30 |

A similar addon has the same problem. This is probably a limitation of the new WebExtension API, but thought I'd post an issue about this.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/autonome/Always-Right/issues/8, or mute the thread https://github.com/notifications/unsubscribe-auth/AADDt7BK4aubP15rudIu5JDdu9QLpA6Uks5r4IUygaJpZM4NVeql .

r-a-y commented 7 years ago

Using v2.0.2 on Firefox 53. OS is Windows 10.

dantunes commented 7 years ago

Thanks @r-a-y for the graphical explanation. This is the issue that I was talking about on my posted issue (issue #7), plus the problem of the tab that eventually open at the far right

autonome commented 7 years ago

I've reverted on AMO back to 1.6.1, so you can reinstall here for a working version: https://addons.mozilla.org/en-US/firefox/addon/always-right/

autonome commented 6 months ago

Ancient issue, the extension and the underlying Firefox APIs are all different now. Can reopen if problem still happening!