Closed Bug 250396 Opened 21 years ago Closed 20 years ago

Clean up Web Search commandkeys

Categories

(Firefox :: Keyboard Navigation, defect, P1)

defect

Tracking

()

RESOLVED FIXED
Firefox1.0beta

People

(Reporter: jerolimov, Assigned: steffen.wilberg)

References

Details

(Keywords: access, fixed-aviary1.0)

Attachments

(1 file, 3 obsolete files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040608 Firefox/0.8 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040608 Firefox/0.8 User-Agent: Mozilla Firefox 0.9.1 (Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040608 Firefox/0.8) In my menu i see this: > File > Edit > Undo Ctrl-Z > Redo Ctrl-Y [...] [...] > Tools > Downloads Ctrl-Y [...] In earlier versions then Shortcut for open the download manager was (when i remember correct) Ctrl-E, and i think it was the "better" way. So i can use Ctrl-Y to open the download manager "in normal sitations", but when im in an textarea-Field (like now) and remove some text, make it undo and will it make redo again, Ctrl-Y do it... The same key for two funktions!? Sorry for my bad englsh, bug i hope you understand me. ;) Greets Christoph Jerolimov Reproducible: Always Steps to Reproduce: 1. See menu 2. Press Ctrl-Y in normal mode -> open download manager 3. Edit a text in a field, make it undo, and redo (with Ctrl-Y again) Actual Results: The "correct" funktion, but so have one key to funktions, which are colled "random".
Yes, this is the intended behavior so that Ctrl-Y changes as focus changes (from content to input areas). -> Invalid/Wontfix
assigning 2 completely unrelated function the same shortcut can never be intended. (that completly breaks the idea of Menu shortcuts) or if it is intended its just bad design setting blocking-aviary1.0PR ? btw: in the german Lang Pack the dl manager is changed to ctrl - e
Flags: blocking-aviary1.0PR?
confirming, sending over to keyboard shortcuts.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
-> ben This really does need to be fixed.
Assignee: firefox → bugs
Component: Menus → Download Manager
Flags: blocking-aviary1.0PR? → blocking-aviary1.0PR+
QA Contact: bugzilla → bmo
Forgive me, but I remember this being changed intentionally. I'm not sure where the bug was, but I believe it has something to do with gnome-specific key mappings. (something like it could not be A, B, C, D, or E.) -[Unknown]
Ben, you can't use Ctrl+Shift+E. It interferes with Unicode input on some platforms. See bug 186789.
Blake, your checkin comment was "Change download manager keybinding to Ctrl+J (remove Page Info accelerator on Windows)". You did the latter, but not the former. Ctrl+J is still Web Search on Linux and Ctrl+E is Downloads. Please also note that the same key is to be used to close the download manager, so it has to be changed here as well: http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/toolkit/mozapps/downloads/content/downloads.xul&rev=1.8.14.3&mark=79#79 http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/toolkit/locales/en-US/chrome/mozapps/downloads/downloads.dtd&rev=1.1.2.3&mark=31#31 I've traced the history of Web Search in bug 250286. Changed 5 times so far. The current state is "Ctrl-E and Ctrl-K on all platforms except Linux, where it's Ctrl-J." (Ctrl+K is "kill end of line on Linux.) I've suggested in that bug to use Ctrl+E on all platforms, but then Ben made the last change, noting "also support Ctrl+K for searches, since its use is entrenched. E is IE compat". Since I'd really like to clean up this platform-specific keybinding mess, I'd suggest this: Search: Ctrl+E (IE compat). Just dump Ctrl+K altogether. Downloads: Ctrl+J. Page Info: Either Ctrl+I on all platforms except Windows, where Ctrl+I is Bookmarks, or none at all, because it's not used that often.
By the way, Ctrl+E still focusses the Search bar, because of this: <!ENTITY searchFocus.commandkey2 "e"> See comment 8 at the bottom for my suggestion to clean up this mess.
Blocks: 256363
Attached patch clean up this mess (obsolete) — Splinter Review
This is what I suggested in comment 8: Ctrl+E is Web Search. Ctrl+J is Downloads. Ctrl+I is Page Info on all platforms except Windows, where it's View Bookmarks Sidebar (IE compat).
Attachment #156580 - Attachment is obsolete: true
Assignee: bugs → steffen.wilberg
Status: NEW → ASSIGNED
Priority: -- → P1
Hardware: PC → All
Summary: Ctrl-Y is assigned to Redo and Download-Manager → Clean up Web Search, Downloads, and Page Info commandkeys
Target Milestone: --- → Firefox1.0beta
Comment on attachment 156770 [details] [diff] [review] clean up this mess Blake, can you r/a+ this, please? 1.0PR blocker.
Attachment #156770 - Flags: review?(firefox)
Attachment #156770 - Flags: approval-aviary?
Whiteboard: [have patch]
*** Bug 256587 has been marked as a duplicate of this bug. ***
Remember that on Linux, Ctrl-A is beginning-of-line and Ctrl-E is end-of-line. Don't collide with those. Platform-specific does seem to be the only way to go, however.
Comment on attachment 156770 [details] [diff] [review] clean up this mess No, let's NOT remove Ctrl+K for search. It's conveniently located near Ctrl+L (location bar), and we've been using it for more than a year. We want to encourage people to use this keybinding, not Ctrl+E, since Ctrl+E is too close to Ctrl+W which is potentially dangerous. We can support Ctrl+E for IE compat, but that does not mean we need to promote it. Ctrl+J for Downloads is fine since Page Info really isn't that common an operation. I've reverted changes that mess with Ctrl+K before, so maybe you should add a comment to the DTD/XUL file saying "DO NOT CHANGE THESE KEYBINDINGS OR BEN WILL KILL YOU" ;-)
Attachment #156770 - Flags: review?(firefox) → review-
Removing "Downloads" from the summary since Blake fixed that already to Ctrl+J.
Summary: Clean up Web Search, Downloads, and Page Info commandkeys → Clean up Web Search and Page Info commandkeys
No longer blocks: 256363
Attachment #156770 - Attachment is obsolete: true
Attachment #156770 - Flags: approval-aviary?
The Tools menu now looks like this on Linux: Web Search Ctrl+J Downloads Ctrl+J The former takes precedence. -> Keyboard Navigation.
Component: Download Manager → Keyboard Navigation
Keywords: access
QA Contact: bmo → jruderman
Summary: Clean up Web Search and Page Info commandkeys → Clean up Web Search commandkeys
1. Changes the commandkeys to Ctrl-E for everyone plus Ctrl-K for everyone except Linux. 2. Lowercases downloads.commandkey, since commandkeys are always lowercased. 3. Changes the Download Manager's cmd.close2.commandKey to "j" to match the downloads.commandkey. 4. Updates the Help doc on the Web Search shortcut.
Comment on attachment 156969 [details] [diff] [review] Ctrl-E for everyone, Ctrl-K for everyone except Linux Ben, please see comment 16 and comment 17.
Attachment #156969 - Flags: review?(bugs)
Is a commandkey going to be reintroduced for Page Info on Windows, as it seems to have been completely eliminated in all this cleanup?
Whiteboard: [have patch] → [have patch] - need review ben
So what does linux get? Linux was using Ctrl+J. I propose that it's more important Linux retains a keybinding for search than for Downloads. Let's make it so that: Ctrl+K works on Windows/Mac for search field Ctrl+J continues to work on Linux for search field Ctrl+J works on Windows/Mac for downloads ... although I'm a little hazy on what the problem with Ctrl+K was on Linux... what was it used for, again?
i think keybinding should be rethought for the 1.0 mark
On 20040825, CTRL-J works to bring up the downloads manager, but you still need t hit CTRL-Y to close it with the keyboard.
(In reply to comment #22) > On 20040825, CTRL-J works to bring up the downloads manager, but you still need > t hit CTRL-Y to close it with the keyboard. The latest attached patch fixes this.
*** Bug 256939 has been marked as a duplicate of this bug. ***
As suggested in comment 20: I've left the keys for Web Search in place, that is Ctrl+J on Unix Ctrl+E (for IE compat) and Ctrl+K (because we like it) on other platforms. Ctrl+J is Downloads on platforms except Unix. No key on Unix for Downloads. > ... although I'm a little hazy on what the problem with Ctrl+K was on Linux... > what was it used for, again? I've added a lenghty comment to browser.dtd: <!-- Be careful when changing these keys. Ctrl+K is 'kill end of line', Ctrl+E is 'jump to end of line' in Linux when textareas are focussed. But we use Ctrl+E on other platforms to be compatible with IE. And ask Ben before changing Ctrl+K :) -->
Attachment #156969 - Attachment is obsolete: true
Comment on attachment 157066 [details] [diff] [review] kill the Downloads commandkey in Linux This works as intended on Linux. I hope it does on other platforms as well. We should really introduce a XP_UNIX_BUT_NOT_MACOSX.
Attachment #157066 - Flags: review?(bugs)
Attachment #157066 - Attachment description: test1 test2 test3 → kill the Downloads commandkey in Linux
Whiteboard: [have patch] - need review ben → [have patch] - need review ben - will look at this 9/1 PM
What's going to happen here? I feel it's a big regression not to have a shortcut for downloads under Linux. And the menu still shows Ctrl+J for downloads _and_ Websearch. I never use the Websearch, I search from location bar, so IMHO the priority "Websearch over Downloads" shouldn't be an argument. I think we need keys for both.
What abou (*Linux Only*) Accel+Shift+J for downloads?
Comment on attachment 157066 [details] [diff] [review] kill the Downloads commandkey in Linux OK, let's try this. r+a=ben@mozilla.org.
Attachment #157066 - Flags: review?(bugs)
Attachment #157066 - Flags: review+
Attachment #157066 - Flags: approval-aviary+
>-<!ENTITY downloads.commandkey "J"> >+<!ENTITY downloads.commandkey "j"> Shouldn't that J remain capitalized to stay consistent with the rest of the code around it?
Whiteboard: [have patch] - need review ben - will look at this 9/1 PM → [have patch] - ready to land ben
commandkeys are generally lowercased in that file, so no
checked in on branch emacs keybindings are really turning into a major pain.
Keywords: fixed-aviary1.0
Whiteboard: [have patch] - ready to land ben → needs trunk checkin
If trying to not interfere with "normal" UNIX key-bindings is something that we're trying to be aware of, what of the CTRL-U-as-clear-line and CTRL-U-as-view-source conflicts? I've always been annoyed when the "view source" windows pops up when I wanted to clear the URL bar.
Attachment #156969 - Flags: review?(bugs)
> Ctrl+I is Page Info on all platforms except Windows, > where it's View Bookmarks Sidebar (IE compat). In general, it's far more important to maintain compatibility across platforms than to maintain compatibility with a completely different browser. It is terribly confusing and frustrating to move between Linux, Windows, and Mac OS X throughout the day and have to remember which keys to type in which cases in the same application. Specifically regarding Ctrl+I, we don't need two shortcuts on Windows for bringing up the bookmarks sidebar, Ctrl+I is really the logical choice for page Information, and Ctrl+I is already in use on platforms other than Windows for page info.
This has been fixed on trunk as well by the branch landing.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Whiteboard: needs trunk checkin
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: