Closed Bug 102448 Opened 23 years ago Closed 23 years ago

<ctrl>+<del> in URL should work like netscape 4.7x (like ctrl-backspace)

Categories

(SeaMonkey :: Location Bar, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.5

People

(Reporter: noel, Assigned: bzbarsky)

Details

Attachments

(1 file)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.4) Gecko/20010918
BuildID:    

Hello,
when you have a very long URL in mozilla and you want to cut off
everything right behind the coursor this works with netscape 4.7x with
<ctrl>+<del>
With mozilla this isn't possible:( i have to hold the <del> Button very long.

Could this please be changed?

Reproducible: Always
Steps to Reproduce:
example:
1. goto http://www.mozilla.org/quality/help/bugzilla-helper.html
2. click the coursor between / and q
3. press <ctrl>+<del> -> only the q is removed. It should remove every-
thing after http://www.mozilla.org/

Actual Results:  q is removed

Expected Results:  work like netscpae 4.7x and should remove every-
thing after http://www.mozilla.org/
Workaround : Hold Shift and press End then Del
Status: UNCONFIRMED → NEW
Ever confirmed: true
On UNIX you can just use the standard emacs keys: ctrl-k.
Keywords: 4xp
Does ctrl-backspace work as expected?
That works as expected here: it removes everthing left of the cursor.
Summary: <ctrl>+<del> in URL should work like netscape 4.7x → <ctrl>+<del> in URL should work like netscape 4.7x (like ctrl-backspace)
url bar or editor: core?
Assignee: pchen → blakeross
Component: XP Apps → URL Bar
QA Contact: sairuh → claudius
My understanding is there is an expectation on Unix for a keybinding:
  Control-Delete where it'd delete everything to the right of the caret

cc Akkana since she best knows Unix keybinding issues.
OS: All → Linux
See bug 25779.  Apparently, on Unix Ctrl-delete is a "copy" command.  We
currently do "copy_or_delete"; the delete should arguably be to end of line. 
reassigning to Akkana, who implemented this initially.
Assignee: blakeross → akkana
This sounds like an excellent idea, and the patch looks fine.  It makes
ctrl-delete more consistent with ctrl-backspace, and also with what gtk key
bindings do.  (I just use ctrl-K for this, myself, which is why I didn't notice
the inconsistency.)  Boris, do you want to check it in, or do you want me to? 
You have my r=akkana if you want to take the bug back, otherwise I'll do it.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.5
I'll take it.  Free r= is not something to pass up.  :)
Assignee: akkana → bzbarsky
Status: ASSIGNED → NEW
Comment on attachment 51552 [details] [diff] [review]
patch that would fix this (maybe rename the command too?)

sr=kin@netscape.com
Attachment #51552 - Flags: superreview+
Attachment #51552 - Flags: review+
Checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Verified fixed with 2002-03-20-21 on Linux.
Status: RESOLVED → VERIFIED
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: