Closed
Bug 628585
Opened 14 years ago
Closed 14 years ago
Pressing ctrl key in Flash doesn't work as expected
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(blocking2.0 Macaw+, status2.0 .1-fixed)
VERIFIED
FIXED
People
(Reporter: fryn, Assigned: mmm)
References
()
Details
(Keywords: regression)
Attachments
(1 file)
1.24 KB,
patch
|
jaas
:
review+
dveditz
:
approval2.0+
|
Details | Diff | Splinter Review |
I just tried playing Wolfenstein 1-D at the above URL, but when i tried to shoot by pressing the ctrl key, my character instead moved to the left. :mmm and :dolske also experienced this. We all were using the a recent Minefield build on OS X. I tested the game in Google Chrome on OS X, and the shoot command worked correctly as expected upon pressing the ctrl key. :mmm and i also tested this in Minefield on Windows, and it worked correctly.
Reporter | ||
Comment 1•14 years ago
|
||
This is a regression from 3.6. (I just played Wolfenstein 1-D in Firefox 3.6 with the same Flash plugin, and it worked.) Not sure if this is a regression from plugin focus fixes for OS X.
blocking2.0: --- → ?
Keywords: regression
Assignee | ||
Comment 5•14 years ago
|
||
Instead of setting keyCode if the event is either NSKeyDown or NSKeyUp, this patch also sets the keyCode if the event is a NSFlagsChanged. Tested this in a build and it seemed to work, the Mac documentation states that this "Raises an NSInternalInconsistencyException if sent to a non-key event." so this seems safe.
Assignee | ||
Updated•14 years ago
|
Attachment #522444 -
Flags: review? → review?(joshmoz)
Comment on attachment 522444 [details] [diff] [review] Always set keyCode. Looks good, thanks!
Attachment #522444 -
Flags: review?(joshmoz) → review+
Assignee | ||
Comment 7•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/f3c2eea82430
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 11•14 years ago
|
||
Comment on attachment 522444 [details] [diff] [review] Always set keyCode. This is pretty low risk, only affects Mac users and slightly changes how key events are handled with plugins.
Attachment #522444 -
Flags: approval2.0?
Updated•14 years ago
|
blocking2.0: .x+ → Macaw
Comment 12•14 years ago
|
||
Comment on attachment 522444 [details] [diff] [review] Always set keyCode. Approved for mozilla2.0 repository, a=dveditz for release-drivers
Attachment #522444 -
Flags: approval2.0? → approval2.0+
Comment 14•14 years ago
|
||
WFM on Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.2a1pre) Gecko/20110404 Firefox/4.2a1pre
Status: RESOLVED → VERIFIED
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•