focus-android icon indicating copy to clipboard operation
focus-android copied to clipboard

Don't switch to a new tab / Open tabs in background

Open dimqua opened this issue 9 years ago • 16 comments

Would be nice to have an option to open new tabs (links) in the background.

dimqua avatar Sep 25 '17 13:09 dimqua

@pocmo @antlam i would like to work on this.

layely avatar Sep 26 '17 14:09 layely

Thanks for the interest @layely !

This issue has to be triaged by the team first before we decide on priority here.

But if you'd like to take the initiative and go ahead with a patch, I'm sure @pocmo or someone would be able to start reviewing the code while we prioritize this with Product.

antlam avatar Sep 26 '17 14:09 antlam

@pocmo @antlam Here is a screenshot of the context menu but i feel like the text "Open link in new tab in the background" is too long.

screenshot_1506668912

commit in my forked repo: https://github.com/layely/focus-android/commit/d6742fb165c92caa05f28c519769b8f364f7558e

I am waiting your feedback before sending a PR.

layely avatar Sep 29 '17 07:09 layely

How about "Open link in new background tab"?

MrGeneric avatar Sep 29 '17 09:09 MrGeneric

@layely awesome start!

but i feel like the text "Open link in new tab in the background" is too long.

I agree, but before we think more about the specific details here, we should think through other UX possibilities too. That way, the overall experience of the entire product can be considered as well.

@lime124 should chime in here too :) note: this still needs to be prioritized

antlam avatar Sep 29 '17 19:09 antlam

After using Focus for a while I feel like opening tabs via the context menu should always open in the background. The current implementation forces you to do a mental context switch immediately. For me opening a tab is always an action where I want to defer something for later.

pocmo avatar Oct 04 '17 09:10 pocmo

@pocmo yeah that's generally my expectation too nowadays because mostly the links I want to open are things I want to read later. So the action is almost like queueing up a couple of links for after... 🤔

antlam avatar Oct 04 '17 16:10 antlam

@antlam @pocmo yeah exactly what i was thinking too.

layely avatar Oct 04 '17 17:10 layely

Probably, "new tab in the background" should be the default action, and not an option.

dimqua avatar Oct 04 '17 17:10 dimqua

+1, also see this support question.

As Firefox for Android opens tabs in the background by default (something users may be accustomed to), why not just change the behavior to the same without adding a new option, as suggested? (Albeit a "Switch to tab" feature would be required, or simply not.)

TonnesM avatar Mar 01 '18 13:03 TonnesM

CC: @brampitoyo

pocmo avatar Mar 01 '18 14:03 pocmo

I agree that opening new tabs in the background should be a preferred behaviour.

The question is, should we also keep our existing behaviour to “Open in new tab, then switch to it?”. I put forth the proposal that we should adopt the new behaviour and drop the old one. This keeps our menu small and easily navigable. Only one item to open link in new tab, and that tab always opens in the background.

But if we do want “open link and go to tab” as an option, I recommend changing the other link to say “Open link in new background tab” – short and sweet – and putting this link underneath “Open link in new tab”. Note that we still prefer a simpler menu, so maybe having two options is unnecessary.

brampitoyo avatar Mar 04 '18 22:03 brampitoyo

I like the snackbar confirmation that Firefox for Android shows when opening a tab in the background. It allows the user to switch to the background tab immediately if needed.

tab-opened

pocmo avatar Mar 05 '18 08:03 pocmo

@pocmo +1, when we did that for Fennec, I think it was under the same circumstances.

We should have Telemetry on that too!

antlam avatar Mar 05 '18 17:03 antlam

+1 for the snackbar confirmation.

Then we can just have one “Open link in new tab” item on the menu. This item will open the tab in the background. And with the snackbar, you’ll have the ability to switch to it almost immediately.

brampitoyo avatar Mar 05 '18 22:03 brampitoyo

Closing for #3300

ekager avatar Sep 07 '18 23:09 ekager