Closed
Bug 255608
Opened 21 years ago
Closed 21 years ago
F1 doesn't bring up help on OS/2
Categories
(Firefox :: Keyboard Navigation, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: mozilla, Assigned: aaronlev)
Details
Attachments
(1 file)
1.02 KB,
patch
|
jhpedemonte
:
review+
|
Details | Diff | Splinter Review |
Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.7.2) Gecko/20040814 Firefox/0.9.1+
The current aviary branch FF contains F1 as shortcut to Help->Help Contents,
which according to bug 251165 works at least on Win/Unix. This does not work on
OS/2. F1 shows no reaction at all, no error in the JS console, either.
Comment 1•21 years ago
|
||
Comment 2•21 years ago
|
||
no, those are Suite bugs.
Steffen, any reason this doesn't work? I don't remember the details of the patch. :)
Comment 3•21 years ago
|
||
It really should work. The code I introduced in bug 251165 is here:
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/toolkit/components/help/content/helpMenuOverlay.xul&rev=1.2.2.1.2.3&mark=60-64#60
I'd assume OS/2 doesn't match #ifdef XP_MACOSX, so it takes the #else route.
openHelp.commandkey is VK_F1, which works fine on Windows and Linux.
Looks like a platform-specific backend problem.
Assignee: firefox → aaronleventhal
Status: UNCONFIRMED → NEW
Component: Menus → Keyboard Navigation
Ever confirmed: true
QA Contact: bugzilla → jruderman
Summary: F1 should bring up help on OS/2 → F1 doesn't bring up help on OS/2
Reporter | ||
Comment 4•21 years ago
|
||
You are most likely right about the backend problem, I remember some discussion
about that on OS/2 some time ago, but was not able to dig it up yet. Will try to
have a look in the code tonight.
Comment 5•21 years ago
|
||
On OS/2, F1 is handled internally by the OS and converted to another message
(WM_HELP).
Fix is just to add VK_F1 to the list of keyboard sequences that we steal from
the OS.
This should go on trunk as well.
Updated•21 years ago
|
Attachment #156261 -
Flags: review?(jhpedemonte)
Updated•21 years ago
|
Attachment #156261 -
Flags: review?(jhpedemonte) → review+
Reporter | ||
Comment 6•21 years ago
|
||
Mike, you are too fast. :-) I thought I could have a few hours of fun looking
for this... Anyway, thanks! It works perfectly on Firefox.
Seamonkey still needs the patch from bug 88739 to go in, in addition to this
one, then it works there, too.
Comment 7•21 years ago
|
||
Fix checked into 1.7, trunk, aviary.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•