Closed Bug 1579161 Opened 7 years ago Closed 6 years ago

Firefox Search Command Line option is broken when an instance of Firefox is running before --search is executed

Categories

(Firefox :: Search, defect, P2)

69 Branch
defect

Tracking

()

VERIFIED FIXED
Tracking Status
firefox69 --- wontfix
firefox70 --- wontfix
firefox71 --- fixed
firefox72 --- fixed

People

(Reporter: rauchwolke, Unassigned)

References

Details

(Whiteboard: [fixed by bug 1587803])

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

  1. start firefox
  2. open a cmd promp and do "firefox --search foo"

Actual results:

an empty window opens

Expected results:

the default search provider is opened with the "foo" keyword

the problems started with the update to FF 69.0

Hardware: Unspecified → x86_64
Version: 68 Branch → 69 Branch

search still works if

  1. start firefox

is missing and ff is just started with

open a cmd promp and do "firefox --search foo" without any instance of ff running.

I also tried to same with a new profile and i still get the same behaviour

Sounds similar to Bug 1578807.

Component: Untriaged → Search

(In reply to Marcia Knous [:marcia - needinfo? me] from comment #3)

Sounds similar to Bug 1578807.

no, my search engines are fine, only the --search cmd line option doesn't work anymore when an instance of ff is running before --search is executed

(In reply to Sen Si from comment #4)

(In reply to Marcia Knous [:marcia - needinfo? me] from comment #3)

Sounds similar to Bug 1578807.

no, my search engines are fine, only the --search cmd line option doesn't work anymore when an instance of ff is running before --search is executed

Thanks, I updated the bug summary to make it more clear.

Summary: firefox --search is broken → Firefox Search Command Line option is broken when an instance of Firefox is running before --search is executed

In my system I get the opposite results.

How to reproduce:

  • Don't start Firefox
  • Open a terminal
  • Enter
    firefox --search foo
  • Result: Firefox starts with an empty window (no search takes place)

On the contrary...:

  • First start Firefox
  • Open some terminal
  • Enter
    firefox --search foo
  • Result: Firefox opens a new window showing the search results

System:
Mageia Linux 7.1 64bit
Firefox 68.0esr (64-bit)

(In reply to nikos from comment #6)

In my system I get the opposite results.

System:
Mageia Linux 7.1 64bit
Firefox 68.0esr (64-bit)

you are on FF 68, there I had the same behaviour, with FF 69 it changed to the exact opposite behaviour

The priority flag is not set for this bug.
:standard8, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(standard8)

Confirming as I can reproduce. Bug 1587803 is actually going to fix this for 71. Unfortunately too late for 70.

Status: UNCONFIRMED → NEW
Depends on: 1587803
Ever confirmed: true
Flags: needinfo?(standard8)
OS: Unspecified → All
Priority: -- → P2
Hardware: x86_64 → All

Bug 1587803 fixed this.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Whiteboard: [fixed by bug 1587803]

Based on comment 11, let's have the flags updated and have this qe+ . An addition to verifying this bug, would useful be to test "firefox -private --search foo" for Fx72. Pablo, can you please verify this?

Flags: qe-verify+
Flags: needinfo?(pablo.muir)

NORMAL BROWSING MODE:

Double checked Firefox 69.0.3 and 70.0.1 release using windows 10 64bit

Step1a) Have a Firefox window already running or Step1b) Firefox is NOT running already:
step2) run command prompt
Step3) execute C:\Program Files\Mozilla Firefox>firefox --search foo

-Firefox window already running> RESULT: new firefox window opens, but there is no search done for "foo"
-Firefox is NOT running already> RESULT: new firefox window opens, a search for "foo" is shown

Nightly version 72.0a1:

-Firefox window already running > RESULT: new firefox window opens, search done for "foo" is showing
-Firefox NOT running> RESULT: new firefox window opens, search done for "foo" is showing

Flags: needinfo?(pablo.muir)

PRIVATE BROWSING MODE:

Step1a) Have a Firefox window already running or Step1b) Firefox is NOT running already:
step2) run command prompt
Step3) execute "firefox -private --search foo"

Private browsing with FF previously running :

FF release 69.0.3 Result: blank window is opened
FF release 70.0.1 Result: blank new window is opened without searches.
Nightly version 72.0a1 Result: searches for foo in private browsing, ( altho i don´t see the private browsing purple icon, if i change the private engine i do get the expected result for the changed private engine))

Private browsing with FF NOT previously running:

FF 69.0.3 Result: search for foo is shown ( altho i don´t see the private browsing purple icon)

FF 70.0.1 Result:search for foo is shown, altho it does not look like private browsing

FF 72.0a1: Result: searches for foo in private browsing, ( altho i don´t see the private browsing purple icon, if i change the private engine i do get the expected result for the changed private engine)

Verified fix on :

Windows 10 64bit
Ubuntu 18.04 64bit
MacOs 10.14

Using Firefox Nightly 72.0.a1 with and without having firefox launched. On normal browsing and private browsing mode.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
See Also: → 1598290
You need to log in before you can comment on or make changes to this bug.