Advanced Key Handling updates

Josh Aas josh at mozilla.com
Tue Jun 15 12:58:43 PDT 2010


1) With AKH, forwarding all events is only recommended for windowed plugins on Windows and Linux. You should not forward events from windowless plugins - those events have already been passed through the browser, so it is already aware of them.

2) Sounds like a general focus bug. Please file a bug with exact repro instructions (windowed instances of Flash? windowless? platform?).

3) We have some not-pretty code to get around the worst of Mozilla bug 78414 on Mac OS X, mostly targeting cmd-q, cmd-w, and cmd-a specifically because they are the most frustrating when they don't work. AKH is the right solution here.

--
Josh Aas
Software Engineer
Mozilla Corporation

----- Original Message -----
From: "Michelle Sintov" <msintov at adobe.com>
To: "plugin-futures" <plugin-futures at mozilla.org>
Sent: Tuesday, June 15, 2010 3:07:58 PM
Subject: RE: Advanced Key Handling updates

Hi there,

I have three minor questions about the Advanced Key Handling spec:

1. The spec "encourages the forwarding of all events even if the plugin already handled them." What are some of the benefits of passing along non-keyboard or otherwise handled events?

2. When you put your focus in plug-in content and then alt-tab out of the browser to another application, and then you alt-tab back, the focus is not automatically back in the plug-in without the help of some JavaScript. Will this feature address this? Or, should I log a bug?

3. One of the bugs fixed by this spec is this age-old issue:
https://bugzilla.mozilla.org/show_bug.cgi?id=78414
"(PluginShortcuts) Application shortcut keys (keyboard commands such as f11, ctrl+t, ctrl+r) fail to operate when plug-in (flash, acrobat, quicktime) has focus"

I am able to reproduce this bug on Windows and Linux but not on Mac. I've tried Command-w, Command-q, and other combinations. Mac Firefox 3.6 with Flash Player 10.1 (and possibly earlier versions as well) works as expected. Does this bug affect the Mac (maybe it only affects specific keystrokes that I haven't tried)?


Thanks.

Michelle Sintov
Flash Player Engineering



-----Original Message-----
From: plugin-futures-bounces at mozilla.org [mailto:plugin-futures-bounces at mozilla.org] On Behalf Of Josh Aas
Sent: Friday, June 04, 2010 10:22 AM
To: plugin-futures
Subject: Advanced Key Handling updates

The Advanced Key Handling (AKH) spec has been updated for clarity and support variables have been assigned.

https://wiki.mozilla.org/NPAPI:AdvancedKeyHandling

Support for AKH has been committed to the npapi-headers repository. We're hoping to implement soon.

--
Josh Aas
Software Engineer
Mozilla Corporation
_______________________________________________
plugin-futures mailing list
plugin-futures at mozilla.org
https://mail.mozilla.org/listinfo/plugin-futures
_______________________________________________
plugin-futures mailing list
plugin-futures at mozilla.org
https://mail.mozilla.org/listinfo/plugin-futures


More information about the plugin-futures mailing list