Closed Bug 777994 Opened 12 years ago Closed 12 years ago

Problem deleting a part of a URL with ctrl+backspace

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

17 Branch
x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 246237

People

(Reporter: r_rom, Unassigned)

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/17.0 Firefox/17.0
Build ID: 20120726052803

Steps to reproduce:

1. Typed "firebug" (without quotes) in the location bar, and the following appeared in the bar: http://code.google.com/p/fbug/issues/detail?id=5239
2. Placed the cursor at the end and pressed Ctrl+Backspace in order to remove unneeded characters.


Actual results:

5239 got selected


Expected results:

5239 should gotten deleted
WFM here with the latest Nightly.

Try in safe mode then with a new profile, please.
I confirmed it in both safe mode and with a new profile. 17.0a1 (2012-07-31)
I hope it is clear from my description of the problem that the history must contain a URL to be edited.
The problem doesn't show up with all URLs, so try the following steps:

1. Visit http://whois.domaintools.com/206.83.48.110, http://whois.domaintools.com/66.87.121.59, and http://whois.domaintools.com/143.111.80.29.
2. Open a new tab and type whois.
3. Arrow keys on your keyboard to select a URL from a list presented to you by the location bar. Do NOT press Enter. The cursor will be at the end of the URL.
4. Press Ctrl+Delete.
5. Observe that the last part of the IP address in that URL gets selected instead of getting deleted.
You could also reproduce this bugzilla's URLs pointing to tickets.
Thanks for the STR, I'm able to reproduce it.
Anyway there is a similar bug but with letters, see bug 775144.

Mozregression range:

m-c
good=2012-07-27
bad=2012-07-28
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=8b96a33ecbd2&tochange=2abd21593e57
Status: UNCONFIRMED → NEW
Component: Untriaged → Keyboard: Navigation
Ever confirmed: true
Keywords: regression
Product: Firefox → Core
Summary: Problem deleting a part of a URL → Problem deleting a part of a URL with ctrl+backspace
You are correct, Loic, bug 775144 describes the same bug and mentions another aspect of it.
By the way, the other bug report mentions FF's build that is earlier than the one you identified as good, 2012-07-27. He reported the problem in 2012-07-18, and I also remember experiencing the problem for a quite a long time (a few months, it seems).
Interestingly, there's bug 246237, which was filed many years ago for Firefox 1 (yes, 1!) and describes EXACTLY the same problem that has appeared relatively recently (in the last few months). It seems like somebody has copied a buggy piece of code and used it in the recent versions of Firefox.
The weird thing is I'm not able to reproduce your STR with a fresh profile (by using mozregression) and nightlies before 2012-07-28 (the 1st bad nightly).
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Component: Keyboard: Navigation → User events and focus handling
You need to log in before you can comment on or make changes to this bug.