Closed Bug 955883 Opened 12 years ago Closed 12 years ago

Trying to edit autocompleted URL in URL bar erases URL.

Categories

(SeaMonkey :: Autocomplete, defect)

SeaMonkey 2.23 Branch
x86_64
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: Roger, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 SeaMonkey/2.23 (Beta/Release) Build ID: 20131210201652 Steps to reproduce: Entered the start of a URL (eg "http://www.b"), waited for it to autocomplete (to "http://www.bbc.co.uk/news/", for example) pressed right arrow once to move the cursor to the end of the autocompletion and to clear the text selection, and then pressed backspace to remove a few characters of the autocompleted text in order to replace it with something else (eg "http://www.bbc.co.uk/radio4/"). Actual results: All the autocompleted text was removed, so I was back to where I started and left with only the text I had initially typed ("http://www.b"). Expected results: The character to the left of the cursor should have been deleted. This is driving me daft. It's significantly reduced the usefulness of autocomplete for me since I upgraded to 2.23, as I frequently need to edit the end of a long URL. If I wanted to delete the autocompleted text I would have pressed backspace while it was still highlighted - this is what the highlighting is for. What would be more useful when autocompleting, is, when there are several possible results, filling in the longest common prefix instead of apparently choosing the longest result, which then requires much further typing to edit. For example I often want to enter "http://www.streetmap.co.uk/newsearch.srf?name=" followed by a placename. However the autocomplete always includes a placename which I have to delete before I can enter a new one.
Go Edit -> Preferences -> Browser -> Location bar What are your settings in the Autocomplete section?
YES - Autocomplete from your browsing history as you type NO - Match only web sites you've typed previously YES - Only match locations, not web site titles Match ONLY AT THE BEGINNING OF THE LOCATION OR TITLE YES - Automatically prefill the best match YES - Show list of matching results I don't think I've changed them for a long time (several years). One of the reasons for choosing those settings would have been to enable me to easily edit the autocompleted string.
I get identical behaviour on Linux with Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 SeaMonkey/2.23 downloaded from ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/2.23/contrib/seamonkey-2.23.en-US.linux-x86_64.tar.bz2 Other examples where this is a problem are http://bugzilla.mozilla.org/123456 where I want to edit the bug number, http://en.wikipedia.org/wiki/Something where I want to edit the article name or http://packages.debian.org/packagename where I want to edit the package name. This is making web browsing very frustrating.
This appears to have been fixed in Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 SeaMonkey/2.24, much to my relief. I haven't tested on Linux yet. The problem was also affecting email address autocompletion. It turns out that I edit a significant proportion of URLs before using them, so the lack of highlighting to show the currently selected text and the impossibility of predicting the effect of the next key stroke was horrible. Thanks for fixing.
OS: Windows 7 → All
Component: Location Bar → Autocomplete
Now that I've finally got around to upgrading, I can confirm that it's also fixed in Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 SeaMonkey/2.25
Per Comment 5 marking WFM.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.