Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Focus address bar when opening new tab #11955

Closed
yoasif opened this issue Jun 25, 2020 · 8 comments
Closed

Focus address bar when opening new tab #11955

yoasif opened this issue Jun 25, 2020 · 8 comments

Comments

@yoasif
Copy link
Contributor

yoasif commented Jun 25, 2020

Spawned from #11833

Prior to the tab tray introduction, it took two taps to create a new tab and focus the address bar in the "new tab". This felt fast and this has regressed the feeling of speed since tab tray now requires three taps.

I think the best maintain the feeling of speed from prior Fenix is to focus the address bar on new tab creation, and to include the home page content (like top sites) on that screen.

Ideally the flow would look like:

  1. Tap tab switcher icon (or open tab switcher menu)
  2. Tap new tab FAB or new tab context menu
  3. Fenix opens Fenix Home with address bar focused
  4. Address bar page dispenses with "this time search with" content and instead includes items from home (like top sites from Showing top sites when address box is empty #11296 or When clicking on the plus button, replace "this time search with" menu with a list of bookmarks/recently visited sites. #10198)
  5. User can touch the content area to access Home directly (move focus from address bar) OR they can tap back to close the keyboard

Samsung Internet, Edge and Opera all show some piece of the home page content when their address bars are focused - the only difference here would be that Fenix would focus the address bar automatically.

signal-2020-06-24-160705UNITO-UNDERSCORE!003!
signal-2020-06-24-160705UNITO-UNDERSCORE!002!
signal-2020-06-24-160705UNITO-UNDERSCORE!001!

This will allow users to go back to the two tap method of opening a new tab and focusing the address bar on open (like desktop and pre-tab tray Fenix).

The larger issue with the old design was that opening a new tab never actually opened a new tab unless you navigated to a new page in the address bar "interstitial", which the new design helps along.

Originally posted by @yoasif in https://github.com/mozilla~~mobile/fenix/issues/11833#issuecomment~~649048428

┆Issue is synchronized with this Jira Task

@kbrosnan
Copy link
Contributor

We have tried this in early nightly builds with the tabs tray. It was rejected because it prevents the user from getting to the home screen.

@yoasif
Copy link
Contributor Author

yoasif commented Jun 25, 2020

@kbrosnan Not sure what you mean by that - I think we definitely need changes to the address bar UI as well (it likely makes sense to open a new issue for that) because you are correct that the address bar doesn't contain content from home, which this issue demands (see #4 above):

Address bar page dispenses with "this time search with" content and instead includes items from home

I need to think through the search UI a bit more so I haven't gotten around to that, but I wanted to extract the issue from #11833 first. 😄

Also, I think #5 also helps with your concerns:

User can touch the content area to access Home directly (move focus from address bar) OR they can tap back to close the keyboard

@keeferrourke
Copy link

I think this suggestion would be a much needed improvement.

We have tried this in early nightly builds with the tabs tray. It was rejected because it prevents the user from getting to the home screen.

To address this, could it be also be worth adding a home button to the bottom URL bar so that users can still quickly/directly access tab collections when they want them?

This could have nice parallels to desktop Firefox where there's a home button (which takes you to the home page) and a new tab button (which opens a new tab and focuses the URL bar).

(Disclaimer: I'm not a UX guy in the slightest!)

@s-ankur
Copy link
Contributor

s-ankur commented Jul 5, 2020

Agreed. There is so much unnecessary cognitive load for doing it right now. Moreover it does not even make sense in the case of a private tab since the "Home Screen" at that point is just a blank purple wall.

@brampitoyo
Copy link

On principle, I agree with the suggestions presented on this issue. But I want to be aware that opening the keyboard up will prevent some of the homescreen from being seen, and that “make the most useful and frequently accessed types of content easily accessible on the homescreen” is one of our goals this quarter.

I still think that there is a way out, and that we can put the keyboard up by default if we think long and hard about only showing what’s necessary on the homescreen.

@eliserichards eliserichards removed the needs:triage Issue needs triage label Jul 17, 2020
@data-sync-user data-sync-user changed the title Focus address bar when opening new tab FNX3-15030 ⁃ Focus address bar when opening new tab Aug 11, 2020
@data-sync-user data-sync-user changed the title FNX3-15030 ⁃ Focus address bar when opening new tab FNX-12960 ⁃ Focus address bar when opening new tab Aug 11, 2020
@data-sync-user data-sync-user changed the title FNX-12960 ⁃ Focus address bar when opening new tab FNX2-13689 ⁃ Focus address bar when opening new tab Aug 11, 2020
@toupeira
Copy link

@brampitoyo maybe the address bar could only be focused when a tab is opened through the longpress menu?

@kbrosnan kbrosnan changed the title FNX2-13689 ⁃ Focus address bar when opening new tab Focus address bar when opening new tab Aug 26, 2020
@curtisprevo
Copy link

Won't someone think of the children tablets with keyboards?!

I would love for the option to turn this feature on for tablets. When I open a new tab, I want it to function the same way it does on a laptop and focus the address bar; my tablet is essentially a laptop. I do understand it not working this way on phones, and I wouldn't want it that way on a phone. But literally every time I use Firefox on my tablet, this confuses the heck outta me and I type half an address into the void.

@kbrosnan
Copy link
Contributor

This is in nightly #13052

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants