fenix icon indicating copy to clipboard operation
fenix copied to clipboard

[Bug] Firefox Preview Search in custom tab doesn't open the tab immediately

Open sv-ohorvath opened this issue 6 years ago • 11 comments

Steps to reproduce

  1. Open a custom tab.
  2. Select a text. Tap Firefox Preview Search

Expected behavior

It should open a new tab with the search, in the app.

Actual behavior

Nothing visible happens. If you go to the app and open a tab, then a new tab will be created in the background with the search. You can see it when you return to the homescreen.

Device information

  • Android device: Nexus 9 (Android 7)
  • Fenix version: Beta 4.0

┆Issue is synchronized with this Jira Task

sv-ohorvath avatar Mar 09 '20 14:03 sv-ohorvath

@liuche, should Firefox Preview search work in custom tabs? It is indeed a bug, but I want to know if it should work here or we actually need to remove Firefox Preview search option from custom tabs.

ValentinTimisica avatar May 07 '20 09:05 ValentinTimisica

@AmyYLee should we not expose this item "Search with Firefox" in PWAs? Screenshot_20200507-103142

liuche avatar May 07 '20 17:05 liuche

@liuche, should Firefox Preview search work in custom tabs? It is indeed a bug, but I want to know if it should work here or we actually need to remove Firefox Preview search option from custom tabs.

Hi,

Search should work in custom tabs since if you have other browsers installed it has the option to search in those browsers through this menu (i.e Edge).

AmyYLee avatar May 07 '20 18:05 AmyYLee

@AmyYLee should we not expose this item "Search with Firefox" in PWAs? Screenshot_20200507-103142

@apbitner Can you reply to the above? Thanks!

AmyYLee avatar May 07 '20 18:05 AmyYLee

Yes it should work in PWA's for the same reason as custom tabs.

apbitner avatar May 07 '20 18:05 apbitner

Hi, reproducible in PWA's on both Beta 5.1.0-beta.1 from 5/19 and Nightly 200520 from 5/20 using a Huawei Mate 20 Lite (Android 9)

AndiAJ avatar May 20 '20 10:05 AndiAJ

Hi, re-checked this issue with Google Pixel 3 XL (Android 9) and Samsung Galaxy S9 (Android 8) on Nightly6/15 - Open selected text through "Firefox Nightly Search" in Custom Tabs ❌ GIF-Samsung 20200615-094202 - Open selected text through "Firefox Nightly Search" in PWA ✔️ GIF-Samsung 20200615-094437

Note: - When using option "Firefox Nightly Search" through custom tab the there is no new tab opened with the search, the tabs tray is not incremented.

  • When selecting more than one word after which to make the search in browser, a crash will be present-i'll create a new ticket for that and relate it to this one, as it is a regression from this fix, verified with a Nightly build from 6/9 - this only happens on Samsung device. GIF 20200615-101234

Diana-Rus avatar Jun 15 '20 07:06 Diana-Rus

Hi all! This issue is not fixed yet. We have 2 scenarios:

  • when there are no opened tabs in Firefox Nightly, selecting a text and choosing to search it, does nothing:
  • when there are opened tabs, selecting a text, and choosing to search it in the default browser, a tab is created in the background with the search. The user can see it when only when returning to the home screen:

I've tested on the latest Firefox Nightly from 8/4, with Sony Xperia Z5 Premium (Android 7.1.1), Samsung Galaxy Tab S6 (Android 9), and OnePlus (Android 9). I'll remove the qa:needed label.

lobontiumira avatar Aug 05 '20 08:08 lobontiumira

Not sure if the changes that @NotWoods has added in the past few weeks means this should be fixed, and should add a QA-needed label?

liuche avatar Sep 08 '20 21:09 liuche

Should have QA needed

NotWoods avatar Sep 08 '20 21:09 NotWoods

Verified as fixed on Nightly 9/10 with Nokia 6 (Android 7.1.1) and Samsung Galaxy Note 10 (Android 10).

sflorean avatar Sep 10 '20 14:09 sflorean