'h' entered as first letter in location bar is overwritten with 'w' when browser.urlbar.autoFill is true

RESOLVED FIXED in Firefox 12

Status

()

Firefox
Location Bar
RESOLVED FIXED
6 years ago
3 years ago

People

(Reporter: clouserw, Unassigned)

Tracking

7 Branch
Firefox 12
x86
Linux
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments, 1 obsolete attachment)

(Reporter)

Description

6 years ago
Created attachment 552497 [details]
screenshots

Mozilla/5.0 (X11; Linux i686; rv:8.0a1) Gecko/20110809 Firefox/8.0a1


My goal:

Type "https://www.paypal.com" into my awesomebar.  (Specifically, I want to specify the "https" part of a URL)

Expected results:  

I can do that.

Actual results:

Can't get to SSL sites. :(  I type "ht" and it matches on a url with "ht" in it elsewhere which starts with "ww".  When I type the third 't' the last of the "www" url is highlighted so my "htt" has turned in to "wwt" in the URL bar and it starts matching on that now.

This is totally hard to explain without a screencast and I don't have one of those, but I do have some sweet screenshots which I'm attaching.

I'm not pausing or anything when typing these letters, just a smooth h-t-t-p-s turns into w-w-t-p-s.
(Reporter)

Comment 1

6 years ago
Thanks to James' pref skills we've determined this is because I had browser.urlbar.autoFill = True which is not the default.

So, leaving the bug open, but it's solved for me by disabling that.  Not sure how it got enabled. :-/
On Windows 7 in Nightly (2011-08-11) I can turn on browser.urlbar.autoFill and type straight through the autocomplete without running into this.

Updated

6 years ago
Duplicate of this bug: 689986

Comment 4

6 years ago
Created attachment 563355 [details]
can't reproduce

I spend much time on this bug and bug 690244 but can't reproduce the problem.

Mozilla/5.0 (Windows NT 6.1; rv:10.0a1) Gecko/20110928 Firefox/10.0a1
Built from http://hg.mozilla.org/mozilla-central/rev/7f4867717226

Updated

6 years ago
Attachment #563355 - Attachment mime type: application/octet-stream → video/webm
I was wrong in comment 2--or, I was right at the time. This appears to depend somewhat on what's in your places database.

Trying to type "how do": http://screencast.com/t/bJu3y7LZ
Trying to type "https://": http://screencast.com/t/MuZuY9XXxj

Updated

6 years ago
Duplicate of this bug: 685121

Comment 7

6 years ago
Firefox autoupdated to 7.0 and now I can no longer access my router because of this bug (unless I want to give up autocomplete altogether). The router only accepts https connections, but if I try to type "https" in the location bar, it gets overwritten as described by others. If I just type in the IP address of my router FF attempts a plain http connection.

Comment 8

6 years ago
Created attachment 565215 [details]
The location bar after typing "h"

Screenshot attached from Windows XP. Changing platform to ALL.
Jerry, as a work around, let it change the 'h' to a 'w', then once you've got a few more characters, you can go back and change the 'w' back to an 'h' manually.

Updated

6 years ago
Attachment #563355 - Attachment is obsolete: true

Updated

6 years ago
Duplicate of this bug: 690244

Updated

6 years ago
Summary: awesomebar is too greedy and eats my URLs while I type them → 'h' entered as first letter in location bar is overwritten with 'w' when browser.urlbar.autoFill is true
Version: unspecified → 7 Branch

Comment 11

6 years ago
(In reply to James Socol [:jsocol, :james] from comment #9)
> Jerry, as a work around, let it change the 'h' to a 'w', then once you've
> got a few more characters, you can go back and change the 'w' back to an 'h'
> manually.

Thank you. A better workaround allows you to turn off the silly feature of hiding the protocol (e.g., http, ftp, https, etc.). Use about:config to change browser.urlbar.trimURLs to false.

Updated

6 years ago
Blocks: 665580

Comment 12

6 years ago
Or set browser.urlbar.autoFill to false.

Comment 13

6 years ago
(In reply to Steffen Wilberg from comment #12)
> Or set browser.urlbar.autoFill to false.

That does work, but then autofill will still be broken - just in a different way. Why would you trade one bustage for another when you can disable protocol hiding and lose nothing?

Comment 14

6 years ago
I have the same issue. Thank you for posting a bug about this already. This issue occurs when I attempt to reach websites that begin with an "h," for example, hypem.com

To clarify, I have hulu as a search keyword saved in my favorites. 
Address: http://www.hulu.com/search?query=%s
Keyword: h
(this may be the issue, but even if it is, firefox should recognize that I am *not* searching hulu when I attempt to type in an address that starts with the same letter

How to replicate:
When I type "h" (without any following space) into the address bar, autocomplete fills in "www.hulu.com/search?query=" with the entire search term highlighted, except for the first "w." When I continue typing an address, for example, hypem.com, the address bar reads "wypem.com"

Firefox should understand that keyword searches should only be done when followed by a space and not autoreplace the url because it starts with the same letter

Comment 15

6 years ago
Instead of setting browser.urlbar.autoFill to false, you can also type a Space (press Spacebar) and then the desired text.

Comment 16

6 years ago
(In reply to bugzilla from comment #15)
> Instead of setting browser.urlbar.autoFill to false, you can also type a
> Space (press Spacebar) and then the desired text.

Cool.Nice trick.

Comment 17

6 years ago
Thanks Bugzilla, that is a good temporary workaround. Would be great if the normal functionality is fixed to avoid having to remember to hit space before all URLs that start with "h" though. By the way, I am running 7.0.1 on Windows 7 x64, unlike the OP

Comment 18

6 years ago
Also FF8 (Beta) is affected (Win7 x64). (I'm on the current beta channel)
I guess bug 566489 may fix this, so adding dependency for now.
Depends on: 566489
Duplicate of this bug: 696649

Updated

6 years ago
Duplicate of this bug: 699198
Duplicate of this bug: 701636

Updated

6 years ago
Duplicate of this bug: 705383

Updated

6 years ago
Duplicate of this bug: 685643

Updated

6 years ago
Duplicate of this bug: 696420

Updated

6 years ago
Duplicate of this bug: 692008

Comment 27

6 years ago
Is this a duplicate of Bug 559878?

Comment 28

5 years ago
Confirming this bug and yes, it looks the same behavior as 559878.

See request for help here:
https://support.mozilla.org/en-US/questions/911930
with the following description, which might help in replicating the bug:


URL inline autocomplete fails on "https:" protocol

As I type the letters h-t-t-p-s into the URL bar (a URL that only has HTTPS access), it tries to automatch them with websites I've visited. For example as I type the letter "h" it suggests matches such as "c_h_rome" or pages ending "_h_tm". As I type a second character ("ht") it narrows its suggestions and suggests pages ending "_ht_ml"...

As I type a 3rd character ("htt" -) it suddenly suggests a full URL in-line ** and overwrites what I've typed to do so **, so I can't actually type the letters "https".
This seems to be fixed by the landing of bug 566489.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED

Comment 30

5 years ago
(In reply to Matt Brubeck (:mbrubeck) from comment #29)
> This seems to be fixed by the landing of bug 566489.

This is fixed in which version? I use version 10.0 and I still have the problem.
(In reply to Ibraim from comment #30)
> This is fixed in which version? I use version 10.0 and I still have the
> problem.

Fixed in version 12.
Target Milestone: --- → Firefox 12
well, due to the backout in bug 720792 this is technically untrue, will be really fixed when bug 720792 will be.
Duplicate of this bug: 726350
Duplicate of this bug: 728734
Duplicate of this bug: 735972

Updated

5 years ago
Duplicate of this bug: 735972

Updated

3 years ago
Duplicate of this bug: 737131
You need to log in before you can comment on or make changes to this bug.