Command line option to start a search should follow the user's preferences
Categories
(Firefox :: Search, enhancement, P5)
Tracking
()
People
(Reporter: phoenixclank, Unassigned)
References
Details
(Keywords: papercut)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0
Steps to reproduce:
- in "preferences", tick the box next to "open links in tabs instead of new windows"
$ firefox
to have a window already open$ firefox --detach --new-window example.com
opens example.com in a new window- close that window again
$ firefox --detach --new-tab example.com
opens example.com in a new tab in the first window, and gives that window focus$ firefox --detach --search foo
Actual results:
a new window opens, searching for "foo" with the default search engine
Expected results:
A new tab should have opened in the already-open window, searching for "foo" with the default search engine. Ideally, the already-open window should receive focus.
If making the behavior of the command line option --search
dependent on the "new tabs vs. new windows" preference is not feasible, I suggest implementing a new command line option like --search-new-tab
.
Comment 1•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 4•2 years ago
|
||
Updating summary, it would be simpler and probably better for --search
to follow the user's preferences.
Description
•