WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
14317
Some shortcut keys not passed to plug-ins
https://bugs.webkit.org/show_bug.cgi?id=14317
Summary
Some shortcut keys not passed to plug-ins
Vlad Alexander
Reported
2007-06-22 15:24:03 PDT
On Windows, some shortcut key events are not being passed to plug-ins. For example: SHIFT+INSERT CTRL+X CTRL+C CTRL+V CTRL+K CTRL+A Our plug-in is a WYSIWYG editor and these shortcut keys are very important to the functionality of our software. Our Windows plug-in can be downloaded from:
http://misc.xstandard.com/apple/NPXStandard.dll
Test page to load the plug-in is here:
http://misc.xstandard.com/apple/test.asp
Attachments
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2007-06-23 10:54:34 PDT
<
rdar://problem/5290080
>
David Kilzer (:ddkilzer)
Comment 2
2007-07-14 20:39:08 PDT
Vlad, could you specify the exact steps to download and install the plug-in for Safari 3.0 on Windows? Thanks!
Alexey Proskuryakov
Comment 3
2007-10-24 12:01:19 PDT
> could you specify the exact steps to download and install the plug-in for > Safari 3.0 on Windows?
I have just downloaded the dll to C:\Program Files\Mozilla Firefox\plugins and restarted Safari.
Vlad Alexander
Comment 4
2007-10-24 12:26:27 PDT
Sorry, NPXStandard.dll should be in: C:\Program Files\Safari\Plugins
Stanislas Rolland
Comment 5
2007-11-28 09:19:37 PST
I have this same problem on Windows. Short cut key events that are defined by the browser are not passed to any script.
Alexey Proskuryakov
Comment 6
2007-12-21 09:19:20 PST
Turns out that this problem is mostly in Safari, not WebKit. Closing as INVALID, as it will be tracked in Radar. Thank you for reporting this!
Alexey Proskuryakov
Comment 7
2007-12-22 13:33:40 PST
Actually, I'd like to keep this open to simplify communication, sorry for the noise! Does this plug-in work in Internet Explorer? I've tried copying it to C:\Program Files\Internet Explorer\Plugins, but the test page still doesn't load it. Is there anything else I should do to see it in action in IE? In Firefox, I'm seeing that the plug-in consumes all Ctrl-key shortcuts, even those it doesn't handle. This doesn't look like ideal behavior, so I'm wondering about IE.
Vlad Alexander
Comment 8
2007-12-23 19:50:50 PST
>Does this plug-in work in Internet Explorer?
Yes. Open a command prompt and cd to the location of NPXStandard.dll. Then type: regsvr32 NPXStandard.dll
Alexey Proskuryakov
Comment 9
2007-12-24 11:00:43 PST
I've been looking at what messages get delivered to the XStandard plug-in window in IE and in Safari, but I do not see any difference. In both cases, the window gets the appropriate WM_KEYDOWN and WM_KEYUP messages (Firefox also sends WM_CHAR, but that shouldn't affect accelerator processing). I'm using Winspector Spy <www.windows-spy.com> to trace Windows messages. Notably, the windows are named differently in the two browsers: Afx5d50000:100b "xeditor" in Safari, and Afx10000000:100b "XStandard XHTML Editor" in IE. This makes me wonder if different code paths are used for event processing. Given that the behavior of IE and Safari looks identical when using the tools I have, it seems that I need more information about inner workings of the plugin. Could you please describe how it handles keyboard input (possibly via e-mail)?
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug