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)
Toolkit
Downloads API
Tracking
()
VERIFIED
FIXED
mozilla1.9beta2
People
(Reporter: mak, Assigned: u278084)
References
Details
Attachments
(1 file, 1 obsolete file)
3.44 KB,
patch
|
sdwilsh
:
review+
mtschrep
:
approval1.9+
|
Details | Diff | Splinter Review |
Add CTRL+F to the download manager to focus the search box.
spin-off from Bug 404524 on Beltzner request
Updated•18 years ago
|
Flags: in-litmus?
Looked easy and I had a few minutes. Hopefully it was done right.
Assignee: nobody → cdolivei.bugzilla
Status: NEW → ASSIGNED
Comment 2•18 years ago
|
||
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 3•18 years ago
|
||
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+
Updated•18 years ago
|
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 5•18 years ago
|
||
Comment on attachment 289765 [details] [diff] [review]
same patch revised
Drivers - this is low risk.
Attachment #289765 -
Flags: review+
Attachment #289765 -
Flags: approval1.9?
Updated•18 years ago
|
Attachment #289765 -
Flags: approval1.9? → approval1.9+
Comment 6•18 years ago
|
||
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]
Updated•18 years ago
|
Flags: blocking-firefox3? → blocking-firefox3+
Priority: -- → P2
Comment 7•18 years ago
|
||
Verified fixed with Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9b2pre) Gecko/2007112605 Minefield/3.0b2pre ID:2007112605
Comment 8•18 years ago
|
||
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 → ---
Comment 9•18 years ago
|
||
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.)
Comment 10•18 years ago
|
||
"Not working on Mac" split off into bug 405696.
Status: REOPENED → RESOLVED
Closed: 18 years ago → 18 years ago
Resolution: --- → FIXED
Verified with Windows and Linux trunk builds, since we split-off Mac in comment 10.
Status: RESOLVED → VERIFIED
Updated•18 years ago
|
Flags: in-testsuite?
Updated•17 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•