Firefox adds http:// and / when browser.urlbar.trimURLs = false and keyword.enabled=false

NEW
Unassigned

Status

()

Firefox
Location Bar
P3
normal
10 months ago
5 months ago

People

(Reporter: avada, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [fxsearch])

(Reporter)

Description

10 months ago
Hi!

This is yet another variant of the urlbar adding this. In this case the searchstring in the urlbar is get this appended when you cycle through everything by pressing up/down arrows, then getting back to the location bar.
As such it's most noticeable, when you don't have any results and have one-off searches disabled.
Also it's necessary for autofill to be not active. (To be disabled, or have nothing to fill)
(Reporter)

Updated

10 months ago
Blocks: 1071461
Summary: Firefox adds http:// and / when browser.urlbar.trimURLs = false and → Firefox adds http:// and / when browser.urlbar.trimURLs = false
could you please better specify steps to reproduce as a list of steps to follow?
(Reporter)

Comment 2

10 months ago
I think I told everything. Anyways, here's a second attempt.
1. Set browser.urlbar.trimURLs = false and browser.urlbar.oneOffSearches = false
2. Add alphanumeric nonsense without spaces to the urlbar, which don't have any results
3. Press the down arrow
4. Note that the text now has the stuff appended.

Technically it happens when you have one off searches on, but it's less annoying, because you get the searchterm back when you press down again. and you have to go through all the stuff on the one off searches' bar. 

Curiously, you don't get the search term back if press upwards. Which I guess is a bug within this bug.

(Hmmm... Just noticed that keyword searches don't work at all to me. Clicking, or pressing enter on them has the same result as if I pressed enter in the urlbar.)

Comment 3

10 months ago
I can't reproduce this on the latest Nightly.  Maybe one of the bugs Marco's been working on recently fixed this, or I don't understand what the bug is.  Doing the STR in comment 2 doesn't append anything.  There's nothing appended to the text shown in the text box, there's nothing appended when I press Return to do a search.  When I copy-paste, http:// and / are added.  Is that the bug?
(Reporter)

Comment 4

10 months ago
(In reply to Drew Willcoxon :adw from comment #3)
> I can't reproduce this on the latest Nightly.  Maybe one of the bugs Marco's
> been working on recently fixed this, or I don't understand what the bug is. 
> Doing the STR in comment 2 doesn't append anything.  There's nothing
> appended to the text shown in the text box, there's nothing appended when I
It still happens on latest nightly.

> press Return to do a search.  When I copy-paste, http:// and / are added. 
> Is that the bug?

That's bug 1254415.
(Reporter)

Comment 5

10 months ago
(In reply to Drew Willcoxon :adw from comment #3)
> I can't reproduce this on the latest Nightly. 

I just tried it with a new profile. It looks like you also need have keyword.enabled=false too. 

Also - I just figured this out - setting keyword.enabled=false totally breaks the one-off searches feature.
Summary: Firefox adds http:// and / when browser.urlbar.trimURLs = false → Firefox adds http:// and / when browser.urlbar.trimURLs = false and keyword.enabled=false

Comment 6

10 months ago
All right, I can reproduce with keyword.enabled=false.  Thanks.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Whiteboard: [fxsearch]
(Reporter)

Comment 7

10 months ago
Also this came with the new urlbar, it's not reproducible with the old one which didn't have the "visit:" item.
Blocks: 1262507

Updated

10 months ago
Blocks: 995091
No longer blocks: 1262507
(Reporter)

Updated

10 months ago
See Also: → bug 1313843
(Reporter)

Updated

9 months ago
See Also: → bug 1318070
You need to log in before you can comment on or make changes to this bug.