Closed Bug 55648 Opened 26 years ago Closed 26 years ago

Ctrl-w doesn't close window if location box has cursor

Categories

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

x86
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 55408

People

(Reporter: jpeek, Assigned: don)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.14-5.0 i686; en-US; m18) Gecko/20001005 BuildID: 2000100521 In M17, and in all Linux Netscape versions I remember before, Alt-w would close the current window. In the nightly build I downloaded yesterday, that shortcut has been changed to Ctrl-w. But the change has broken something else, I think: typing Ctrl-w while the cursor is in the location box (where you type the URL) doesn't close the window; it clears the text in the location box. This wouldn't be too bad except that, when new windows come up, the cursor seems to be in the location box by default. So (unless I've clicked somewhere in the rest of the window) Ctrl-w basically never works to close the window. Now the key sequence to close a window is: 1) move mouse to middle of window (but not over a button or a link), 2) click first mouse button, 3) press Ctrl-w. Reproducible: Always Steps to Reproduce: 1. Open a new window 2. Press Ctrl-w. Actual Results: The window won't close; instead, the URL in the location box is erased. Expected Results: The window should close. I see the same problem with typing Ctrl+n in one of these text-entry fields on this bug-reporting form: it doesn't open a new window until I click somewhere outside of the text-entry field. (I'll submit a new bug on that next.) Maybe this switch from Alt-keys to Ctrl-keys needs some more checking?
Sorry, this is probably a frequently-reported bug (somehow I missed that...)
*** Bug 55649 has been marked as a duplicate of this bug. ***
Akkana and Alec discuss this same problem in bug #55408. It's a known issue due to the Emacs/Bash-like keyboard shortcuts which are enabled during text input. *** This bug has been marked as a duplicate of 55408 ***
Status: UNCONFIRMED → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
vrfy dup.
Status: RESOLVED → VERIFIED
Component: Keyboard: Navigation → User events and focus handling
You need to log in before you can comment on or make changes to this bug.