webextension-open-tabs-next-to-current icon indicating copy to clipboard operation
webextension-open-tabs-next-to-current copied to clipboard

Can the addon not just change the newish browser.tabs.insertAfterCurrent option, which would prevent the horrible GUI issues?

Open levihb opened this issue 4 years ago • 4 comments

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

  • [X] I checked existing issues (open and closed) for possible duplicates
  • [X] I can reproduce the problem on the latest stable version (not nightly!)

What is your browser?

  • [X] Firefox
  • [ ] Chrome

What is your operating system?

  • [X] Linux
  • [ ] Mac
  • [ ] Windows

Description (please include examples/screenshots where applicable)

As pointed out on the front of this git, now that browser.tabs.insertAfterCurrent exists, there's less reason to require the addon. But with browser.tabs.insertAfterCurrent you can't manually open one on the right with Ctrl-Y like you can with this addon.

So for newer versions of FireFox, why doesn't the addon just set browser.tabs.insertAfterCurrent to true by default. Then when you press Ctrl+Y set it to false, open a new tab, then set it back to true? Or alternatively leave it on true all the time, but manually move a tab to the right, like how it currently works with new tabs?

And many people are unaware of browser.tabs.insertAfterCurrent and use this addon. And many other people don't even know how to go into about:config to change the setting, so just use this addon. For these people this setup would be much more beneficial. Mostly as it fixes the jumpy tabs problem, which is frustrating as it always ends up putting my open tab to the left of the screen.

levihb avatar Nov 22 '20 17:11 levihb

Because it does not work as expected. Specifically it works only for new tabs, not for links.

For links there is browser.tabs.insertRelatedAfterCurrent but it only creates more confusion by opening in A 1 2 3 order and "changing it's mind" when you switch tab and back and then try again which results in: A 4 5 1 2 3


What I expect from the add-on is to always stick to A 3 2 1 order.

gwarser avatar Nov 22 '20 17:11 gwarser

So why not use the current method for link tabs, but the new insertAfterCurrent for normal tabs? It would still solve the issues with opening new tabs then, just not with opening links.

levihb avatar Nov 22 '20 17:11 levihb

I don't work on this extension anymore. I created it to work around Firefox' restrictions but since moved away from Firefox because there are some things that are just show stoppers for me. Now they added these settings but they still don't allow for full control. It's just annoying. Mixing the settings and what the extension currently does would just be too error prone. I don't use Firefox anymore and haven't used Ctrl-Y in a long time, so I don't care much. But if anyone wants to, they can create their own extension to do exactly what they want.

sblask avatar Nov 22 '20 21:11 sblask

Very thankful for this extension! Though I really wish it didn't scroll all the way to the bottom of the tabs list in Edge browser, any tips on where to edit the extension files to fix this?

jakezz avatar May 23 '23 05:05 jakezz