Closed Bug 306619 Opened 19 years ago Closed 16 years ago

ctrl-w should not close browser window if focus is in locationbar

Categories

(Firefox :: Address Bar, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jvuyl2t02, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

Ctrl-w is often used to erase a word in other applications. For me it's a habit
when I want to erase the word left of the curser to just press ctrl-w. It
happens to me often when focus is in the locationbar and I want to edit the URL.
And what happens? The browser window just disappears. This is annoing.
Ctrl-w should be intercepted and dropped if entered in the locationbar.


Reproducible: Always

Steps to Reproduce:
1. ctrl-l
2. bugzilla.mozilla.org/about
3. ctrl-l
4. end
5. ctwl-w

Actual Results:  
The browser window is closed.

Expected Results:  
Nothing should happen. The browser window should stay.
opposite of bug 72352
So it would be nice to have a configuration parameter.
No, actually the opposite of bug 257063: you can have C-w erase-word-left in the location bar, by using gconf-editor to set /desktop/gnome/interface/gtk_key_theme to "Emacs" (unless you aren't using Gnome, in which case you're out of luck). It isn't actually particularly useful, since it's word-left not path-segment-left, but you can have it until someone finally fixes that bug.
Whiteboard: [wontfix?]
Version: unspecified → 1.0 Branch
I am able to reproduce this bug.
Severity: normal → enhancement
Version: 1.0 Branch → Trunk
I reproduced this bug on my Ubuntu 7.04 box running Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9a6pre) Gecko/20070702 Minefield/3.0a6pre
Confirming, as I've run into this problem myself.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: ctrl-w shold not close browser window if focus is in locationbar → ctrl-w should not close browser window if focus is in locationbar
This is not going to change in Firefox core. This shortcut is widely known and used for tab/window closure in the browser. Having it's behavior change based on focus would be confusing for the majority of users. I recommend you develop an extension for this.

Marking WONTFIX.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
Whiteboard: [wontfix?]
You need to log in before you can comment on or make changes to this bug.