Open Bug 1900296 Opened 2 years ago Updated 2 years ago

Android select and search with Firefox tries to open the selected text as a URL, not a search

Categories

(Firefox for Android :: Search, defect)

Firefox 127
All
Android
defect

Tracking

()

Tracking Status
firefox127 --- affected
firefox128 --- affected

People

(Reporter: rudranilghosh, Unassigned)

Details

(Whiteboard: [qa-triaged])

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

Steps to reproduce:

On X (twitter) I selected some text and clicked on the search icon that appear (along with copy), it gave me some apps to use for my search (eg- Google, Vivaldi, firefox beta). I clicked Firefox beta.
Provided, firefox must be closed (stopped not running in background) and you must select a lot of text to search. My Firefox version is Firefox beta for android 127.0b8 (Build #2016023703)

I also have a screen record of this happening, I used firefox and Vivaldi to do the same thing - https://www.dropbox.com/scl/fi/hdstcyslg96f6vbptvfgo/Screenrecorder-2024-06-03-09-27-57-215.mp4?rlkey=9f0lamq13mmkzb44d2a6845et&st=0n7lxrk9&dl=0

Actual results:

Invalid Address

The provided address is not in a recognised format. Please check the location bar for mistakes and try again.

Expected results:

It should've opened Google to search.

Can you look ?

Flags: needinfo?(cpeterson)

rudranilghosh, thanks for reporting this problem. What Android device model and OS version are you using? When I select text in the Twitter app, the context menu on my device doesn't show the magnifying glass icon seen in your screen recording. I'm testing a Samsung Galaxy A32 with Android 13 and a Moto G5 with Android 8.1. Maybe you are using a different OS?

Flags: needinfo?(cpeterson)
Summary: Android select and search with Firefox is buggy → Android select and search with Firefox tries to open the selected text as a URL, not a search
Attached video Xiaomi.mp4

I was able to reproduce this issue, with Xiaomi Redmi Note 8T (Android 11). The Invalid Address page is displayed the first time the selected text is searched using Fenix, regardless if Fenix was closed or running in background. The next search will display the search results page properly.

  • This was not reproducible when searching the text with Google/Chrome
  • Not reproducible with a high end Xiaomi device, Xiaomi 12 Pro (Android 13)
  • The magnifying glass icon was also available on Poco F5 Pro (Android 13), however, when tapped, the selected term was searched with Google by default, without offering additional apps to search with (although Fenix Nightly was set as default browser)
    I'll confirm this issue since it is reproducible with the latest Firefox for Android releases.
Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [qa-triaged]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: