Project

General

Profile

Actions

Feature #1100

closed

Open new tabs adjacent to the current tab

Added by ask low about 1 year ago. Updated 11 months ago.

Status:
Closed
Priority:
Next Release
Start date:
10/15/2023
Due date:
% Done:

0%

Estimated time:

Description

Problem Description

Whenever a link in an existing site opened in a new tab / background, it opens at the farthest right end of the tab list. A session with numerous other tabs will make the current session more jumbled because of this.

Possible Solution

Always spawn new tabs adjacent to the current tab. This'll be absolutely crucial for a better tab management.

Actions #1

Updated by ask low about 1 year ago

  • Subject changed from open new tabs adjacent to the existing tab to open new tabs adjacent to the current tab
Actions #2

Updated by Soren Stoutner about 1 year ago

  • Status changed from New to Feedback
  • Assignee set to Soren Stoutner

That's actually quite complicated because of the way TabLayout works. It would involve moving each tab over. Not impossible, but I am probably unlikely to implement it unless a vary large number of people request it.

Actions #3

Updated by Soren Stoutner about 1 year ago

Actually, it might be easier than I originally assumed. The most important part would be to synchronize the TabLayout and the ViewPager.

Actions #4

Updated by ask low about 1 year ago

but I am probably unlikely to implement it unless a vary large number of people request it.

Upto you to set the priority of the changes. But just think of the amount of convenience and usability upgrade by implementing this. Imagine how benefitial it would be, when all the links open adjacent to the current one...

Imagine you have like 5 tabs (or even 3) per session. You're on Tab 1 & wanna spawn some link in a new tab. You do it and they suddenly spawn at the end, which jumbles up your current tab workflow with other tabs.

Actions #5

Updated by Soren Stoutner about 1 year ago

  • Status changed from Feedback to New
  • Priority changed from 3.x to Next Release

That is a good point. I will take a look at it to see how easy it would be to implement.

Actions #6

Updated by Soren Stoutner about 1 year ago

  • Subject changed from open new tabs adjacent to the current tab to Open new tabs adjacent to the current tab
Actions #7

Updated by ask low about 1 year ago

I believe it'll be worth trying even if it's slightly difficult for you. This would be literally a free tab management upgrade.

Actions #9

Updated by v ... 12 months ago

Thanks for implementing it. A useful feature for some of us.

Actions #10

Updated by ask low 11 months ago

Could you also do the same for web searches ?
Take an example of searching a meaning for a word or sentence from current tab:
https://shorturl.at/gsHJX

I believe this also applies to link opens outside the browser too. Is it possible to spawn these searches adjacent to the current ?

Actions #11

Updated by Soren Stoutner 11 months ago

Web searches are actually passed into Privacy Browser as an intent (the same way tapping on a link in another app opens Privacy Browser if it is set as the default). Because of that, Privacy Browser can't determine the difference between a web search initiated by a tab inside of Privacy Browser and a web search initiated from a different app.

It would be possible for Privacy Browser to open all web searches in adjacent tabs, but I am not sure that is the correct behavior. It would probably feel a little weird if you do a web search from another app and end up in a tab in the middle of Privacy Browser's list.

Actions #12

Updated by ask low 11 months ago

Opening intents adjacent to the current tab, is also very useful. Take an example in your browsing session in the following order: some tabs you opened were amazon, some your project work, some tabs memes.
Let's say you're working on your projects (some middle tab). And you wanna access your mailing lists for patches. You head to your mail app & hit some reference link. And you end up opening that intent link as the last tab (memes).

Not just this case, but the one I mentioned below, searching the web for some word in current tab too.

It's not weird at all btw. If one wants to have the intent tabs at the end, just access the last tab & then open the intent. As simple as that.

Actions #13

Updated by ask low 11 months ago

  • Subject changed from Open new tabs adjacent to the current tab to Open intent tabs adjacent to the current tab
Actions #14

Updated by ask low 11 months ago

  • Subject changed from Open intent tabs adjacent to the current tab to Open new/intent tabs adjacent to the current tab
Actions #15

Updated by Soren Stoutner 11 months ago

  • Subject changed from Open new/intent tabs adjacent to the current tab to Open new tabs adjacent to the current tab

This feature request has been implemented and closed and is referenced in the 3.16 changelog, so the title shouldn't be changed.

https://www.stoutner.com/privacy-browser-android/changelog/

I consider what you are requesting to be a different feature. If you like, you may open a new feature request to discuss it.

Actions

Also available in: Atom PDF