Open Bug 1456367 Opened Last year Updated 5 months ago

Incorrect prompt “Search or enter address” when search is turned off

Categories

(Firefox :: Address Bar, defect, P5, minor)

61 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: ambrose.li, Unassigned)

References

Details

(Keywords: dupeme)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0
Build ID: 20180419100148

Steps to reproduce:

1. Turn off search in address box (i.e., set keyword.enabled to false)

2. Create a new tab or window and look at the address bar


Actual results:

3. The address bar prompts “Search or enter address” even though search has been turned off


Expected results:

The address bar should only prompt “Enter address”
The placeholder text is correct, given that enabling the search bar doesn't disable searching from the address bar, as you know from bug 1456046.
Severity: normal → minor
Has Regression Range: --- → irrelevant
Has STR: --- → yes
Component: Untriaged → Address Bar
OS: Unspecified → All
Hardware: Unspecified → All
Whiteboard: [INVALID?]
As I mentioned in comment 12, keyword.enabled = false actually disables search. That’s why I indicated I have disabled keyword.enabled. The placeholder text is incorrect.

Please read the thread you mentioned and stop calling UX issues irrelevant, thank you very much.
Whiteboard: [INVALID?]
You didn’t even read this bug. I never mentioned creating a search bar.
keyword.enabled is considered an advanced/hidden setting and as such it may have bugs (warranty voided on about:config access means something).
Fwiw, I suspect this may be a dupe of some old bug.
Priority: -- → P5
Whiteboard: [DUPEME]
I’m not denying it’s a hidden config. That doesn’t make it a non-bug.
If you are enabling a hidden conflict - you should expect to run into issues.
Whoops, typo there - config not conflict.
Also, if “voiding the warranty” means you’re going to ignore bug reports then say so, in plain English. Don’t use misleading language like “voiding the warranty”.
The MPL explicitly states that there is no warranty. “Voiding the warranty” is not just vague language; it’s actually meaningless.
This was once fixed as bug 1179153 but may have re-regressed.
Summary: Īncorrect prompt “Search or enter address” when search is turned off → Incorrect prompt “Search or enter address” when search is turned off
(In reply to Asa Dotzler [:asa] from comment #10)
> This was once fixed as bug 1179153 but may have re-regressed.

That refers to the first entry in the address bar drop-down, not the placeholder text in the address bar itself.
With keyword.enabled = false, typing in foobar shows "[globe icon] http://foobar/ — Visit"
With keyword.enabled = true, typing in foobar shows "[magnifying glass icon] foobar — Search with DuckDuckGo (SSL)*"
* your default search engine
yep, this is about the placeholder text inside the input field.
Duplicate of this bug: 1461165
It wasn't exactly incorrect for the Location Bar to say "Search or enter address" when web searching is disabled, because the bar also searches through your local library (browsing history, bookmarks, tags, and maybe other locally-stored things as well). So, "search" could mean "search the web" as well as "search your library".

But now, the placeholder text says "Search with <search engine> or enter address" even when "type & go" web searching is disabled by keyword.enabled=false, which is definitely misleading, since a web search won't actually be performed. (By "type & go", I mean typing in the location bar and pressing Enter, instead of using a drop-down suggestion.)

Also, to be extra precise, the placeholder text could also remove any mention of "search" if about:config settings disable search results from the library.

Ideas:
-"Search with <search engine> or enter address": web searching on
-"Search or enter address": web searching off, library searching on
-"Enter address": web searching off, library searching off

...or would all of that just complicate the meaning of the word "search" in the context of Firefox's UX? Whatever is decided, the placeholder text should describe/warn about what will happen as you are typing something into the Location Bar (like how typing triggers web searches when web search suggestions are enabled), and what can happen when you "type & go" (like being sent to web search results when keyword.enabled is true, or visiting a library item because of your text having been pre-filled with it).

For the record, Location Bar *suggestions* in the drop-down are all very transparent about what they do. This discussion only needs to be concerned with the placeholder text seen before interacting with the bar at all.

PS: For what it's worth, a "type & go" will *not* send you to web search results if keyword.enabled is false, *even if* you have enabled web search drop-down suggestions from the Location Bar. Personally I think that's really nifty because it means that both of those preferences are kept separate, as opposed to one preference silently controlling the other.
Duplicate of this bug: 1495340
Keywords: dupeme
Whiteboard: [DUPEME]
You need to log in before you can comment on or make changes to this bug.