Closed Bug 404647 Opened 18 years ago Closed 18 years ago

CTRL+F shortcut should focus the search box in the download manager

Categories

(Toolkit :: Downloads API, defect, P2)

defect

Tracking

()

VERIFIED FIXED
mozilla1.9beta2

People

(Reporter: mak, Assigned: u278084)

References

Details

Attachments

(1 file, 1 obsolete file)

Add CTRL+F to the download manager to focus the search box. spin-off from Bug 404524 on Beltzner request
Attached patch seems easy (obsolete) — Splinter Review
Looked easy and I had a few minutes. Hopefully it was done right.
Assignee: nobody → cdolivei.bugzilla
Status: NEW → ASSIGNED
Comment on attachment 289599 [details] [diff] [review] seems easy I know this seems odd that I'm requesting review from myself, but it's really just to get it on my radar ;)
Attachment #289599 - Flags: review?(comrade693+bmo)
Comment on attachment 289599 [details] [diff] [review] seems easy >+function setSearchboxFocus() { >+ document.getElementById('searchbox').focus(); >+} >+ nit: newline for opening brace please nit: use " instead of ' with getElementById >+ <key id="key_find" key="&cmd.find.commandKey;" oncommand="setSearchboxFocus()" modifiers="accel"/> I know the formatting of this part of the file is sucky... Can you not do the extra spacing to line up the keys and make sure that the line wrapping is at 80 chars for this new one please? r=sdwilsh with these fixed.
Attachment #289599 - Flags: review?(comrade693+bmo) → review+
Flags: blocking-firefox3?
Whiteboard: [needs new patch][has review]
Target Milestone: --- → Firefox 3 M10
My haste has made me careless. Fixed the patch
Attachment #289599 - Attachment is obsolete: true
Comment on attachment 289765 [details] [diff] [review] same patch revised Drivers - this is low risk.
Attachment #289765 - Flags: review+
Attachment #289765 - Flags: approval1.9?
Attachment #289765 - Flags: approval1.9? → approval1.9+
Checking in toolkit/locales/en-US/chrome/mozapps/downloads/downloads.dtd; /cvsroot/mozilla/toolkit/locales/en-US/chrome/mozapps/downloads/downloads.dtd,v <-- downloads.dtd new revision: 1.17; previous revision: 1.16 done Checking in toolkit/mozapps/downloads/content/downloads.js; /cvsroot/mozilla/toolkit/mozapps/downloads/content/downloads.js,v <-- downloads.js new revision: 1.104; previous revision: 1.103 done Checking in toolkit/mozapps/downloads/content/downloads.xul; /cvsroot/mozilla/toolkit/mozapps/downloads/content/downloads.xul,v <-- downloads.xul new revision: 1.34; previous revision: 1.33 done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: [needs new patch][has review]
Flags: blocking-firefox3? → blocking-firefox3+
Priority: -- → P2
Verified fixed with Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9b2pre) Gecko/2007112605 Minefield/3.0b2pre ID:2007112605
Reopening; although this is indeed fixed on both trunk Windows and Linux builds, it's broken on Mac OS X (10.4), where all it does is generate the "thud" sound, meaning it can't set focus. https://litmus.mozilla.org/show_test.cgi?id=5002 in-litmus+
Status: RESOLVED → REOPENED
Flags: in-litmus? → in-litmus+
Resolution: FIXED → ---
I wonder why this (Cmd+F) doesn't work on Mac. The patch correctly uses "accel" for Ctrl on Windows and Cmd on Mac. I noticed that the "Find" command in the Edit menu is disabled. Maybe another Find command, associated with that menu, is getting in the way. (And it would be good for that menu item to be enabled when the Download Manager has focus.)
Depends on: 405696
"Not working on Mac" split off into bug 405696.
Status: REOPENED → RESOLVED
Closed: 18 years ago18 years ago
Resolution: --- → FIXED
Depends on: 405698
Verified with Windows and Linux trunk builds, since we split-off Mac in comment 10.
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: