sblask-webextensions / webextension-open-tabs-next-to-current

Open new tabs to the right of the current one.
https://addons.mozilla.org/firefox/addon/open-tabs-next-to-current/
MIT License
163 stars 21 forks source link

Tabs are not properly ordered when re-opened in a window. #179

Closed OnlyUsePascal closed 1 month ago

OnlyUsePascal commented 3 months ago

New Issue Checklist (tick off like this: [x])

What is your browser?

What is your operating system?

Description (please include examples/screenshots where applicable)

Summary: When re-opening a window, the tabs are not correctly ordered. But there is a pattern of their in-correctness.

For instance, if I have a set of tabs like this, and I'm currently located at the asterisk-marked tab

(0)  (1)*  (2)  [tab group (3)  (4)]  (5)

If I re-open the window, the order of all tabs preserved (5) is moved next to (1)

(0)  (1)*  (5)  (2)  [tab group (3)  (4)]

If I re-open the window again, the tab group is now split, and (4) is moved next to (1)

(0)  (1)*  (4)  (5)  (2)  [tab group (3)]

Thank you very much for the extension!

sblask commented 1 month ago

There is no API for tab groups, so nothing can be done there.