The default bug view has changed. See this FAQ.

Firefox should not autocomplete URL's pasted in the location bar

NEW
Unassigned

Status

()

Firefox
Location Bar
P3
normal
11 months ago
11 months ago

People

(Reporter: Vincent Lefevre, Unassigned)

Tracking

(Blocks: 1 bug)

45 Branch
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [fxsearch])

(Reporter)

Description

11 months ago
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20160426232238

Steps to reproduce:

1. New Tab (Ctrl-T).
2. Paste the URL https://issues.apache.org/jira/browse/SVN in the location bar, either with middle click (specific to Linux) or Ctrl-V.


Actual results:

Firefox proposes to complete the URL to https://issues.apache.org/jira/browse/SVN-4585, which is automatically selected if I type [Enter].


Expected results:

Firefox should not propose to complete the URL, so that it is possible to open the URL with a paste then [Enter]. Autocompletion makes sense when typing, not much when pasting.

Comment 1

11 months ago
Change the browser.urlbar.autoFill.typed to true in about:config if it is not


https://dxr.mozilla.org/mozilla-central/source/toolkit/components/places/nsPlacesAutoComplete.js#84
// Whether to search only typed entries.
const kBrowserUrlbarAutofillTypedPref = "autoFill.typed";
Component: Untriaged → Location Bar
Flags: needinfo?(vincent-moz)
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
(Reporter)

Comment 2

11 months ago
It is already set to true. If I toggle it to false, I get the same behavior, and if I toggle it to true again, I still get the same behavior.
Flags: needinfo?(vincent-moz)
(Reporter)

Comment 3

11 months ago
Also note that this problem is reproducible in safe mode (firefox -safe-mode).
(Reporter)

Comment 4

11 months ago
This is also reproducible with a fresh profile:

1. firefox -no-remote -safe-mode -ProfileManager
2. Create a new profile.
3. Open https://issues.apache.org/jira/browse/SVN-525
4. New Tab.
5. Paste https://issues.apache.org/jira/browse/SVN

Comment 5

11 months ago
Makes sense, it's possible ends up being a dupe if this is already tracked.
Status: UNCONFIRMED → NEW
Ever confirmed: true

Updated

11 months ago
Priority: -- → P3
Whiteboard: [fxsearch]
(Reporter)

Comment 6

11 months ago
I've quickly looked at bugs blocking bug 1071461, and found the very similar bug 776408. However this bug mentions a paste delay, which would IMHO be a very bad idea (bug 776408 comment 8 agrees). I think that
1. Bug 776408 should be retitled so that the paste delay is no longer mentioned (and with more information so that it can more easily be found with a search).
2. This bug should be marked as a duplicate of bug 776408.
Blocks: 1071461
You need to log in before you can comment on or make changes to this bug.