example.com
, another with example.org
, and then opening a third tab to reproduce this bug inThe awesomebar should be populated with the other tab's URL. Alternately (much less preferably), the arrow button should not be present for "Switch to tab" type results. For example: http://example.net
The awesomebar is populated with the other tab's page title. For example: Example Domain
I think this needs some ux-feedback.
The feature was implemented in https://github.com/mozilla-mobile/android-components/issues/6813 and allows to accept suggestion from search completion without submitting in order to append something or modify it
.
A different switch to tab button would be really nice though , maybe using a chip to it?
Should we prioritize such buttons higher in the list of suggestions?
There is a switch to tab function and it also has visual indicators, done here: https://github.com/mozilla-mobile/fenix/issues/12622
Similar issue, see also: of https://github.com/mozilla-mobile/fenix/issues/13835 (maybe even a duplicate)
Pinging @brampitoyo for Search feedback
@Mugurell I can confirm that the behaviour @strugee proposed is the correct one.
There are a few types of possible suggestions for the address bar:
Item 1 is special, because it doesn’t have any URL associated with it. They’re suggestions that we fetch from a search provider server. Tapping on the Append arrow should populate the address bar with keywords.
Items 2–5 are different. They all have URLs associated with them. Tapping on the Append arrow should populate the address bar with the item’s URL, not the item’s page title.
What happens next:
https://twitter.com #mozilla
Seems to have been fixed by removing the "complete" arrow and adding "switch to tab" in the results.
Verified as fixed on Nightly 9/25 with Google Pixel 3 (Android 11).
Most helpful comment
There is a switch to tab function and it also has visual indicators, done here: https://github.com/mozilla-mobile/fenix/issues/12622
Similar issue, see also: of https://github.com/mozilla-mobile/fenix/issues/13835 (maybe even a duplicate)