Closed Bug 720284 Opened 13 years ago Closed 13 years ago

"Auto-completing" address bar doesn't play nice with Ctrl+Backspace

Categories

(Firefox :: Untriaged, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 246237

People

(Reporter: jstpierre, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:12.0a1) Gecko/20120121 Firefox/12.0a1 Build ID: 20120121121718 Steps to reproduce: 1. Type a prefix into the address bar, like "moz". 2. Have it auto-complete to "mozilla.com", with the "zilla.com" part selected. 3. Press Ctrl+Backspace. Actual results: "zilla.com" Expected results: ""
Confirmed on http://hg.mozilla.org/mozilla-central/rev/244711942710 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0a1) Gecko/20120122 Firefox/12.0a1 ID:20120122031050
Blocks: 566489
Status: UNCONFIRMED → NEW
Ever confirmed: true
The behavior seems consistent with any other input field, like the search bar, is this really a regression, or rather a global bug? I can also reproduce it in the search field of google... may be an editor bug! I think the expected behavior of ctrl backspace is to delete everything from the cursor to the begin of the word, so having moz|[illa.com] should delete moz and leave illa, while moz[illa.com]| should delete everything (with "|" I mean the cursor). Btw, this is a duplicate of an old bug
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Also to be noted that I just tried in Windows explorer and having moz[illa] (with selection direction forward) deletes moz leaving illa, as our textboxes do, so this is coherent with the system.
Sure, but the difference is that Firefox itself is inserting the selected things. We should treat this as the same case with the cursor at the end with nothing selected.
no doubts, though still a dupe (the other bug was already an inline autocomplete one)
You need to log in before you can comment on or make changes to this bug.