IME doesn't work on the text field of flash with Cocoa build
Categories
(Core :: Widget: Cocoa, defect, P1)
Tracking
()
People
(Reporter: sugar.waffle, Assigned: smichaud)
References
()
Details
(Keywords: fixed1.9.0.2, fixed1.9.1, inputmethod, Whiteboard: [MU+])
Attachments
(5 files, 7 obsolete files)
5.35 KB,
image/png
|
Details | |
239.32 KB,
image/png
|
Details | |
17.34 KB,
patch
|
Details | Diff | Splinter Review | |
20.16 KB,
patch
|
jaas
:
review+
roc
:
superreview+
samuel.sidler+old
:
approval1.9.0.2+
|
Details | Diff | Splinter Review |
6.48 KB,
text/plain
|
Details |
Updated•18 years ago
|
Comment 2•18 years ago
|
||
Comment 3•18 years ago
|
||
Comment 4•18 years ago
|
||
Updated•17 years ago
|
Comment 7•17 years ago
|
||
Comment 8•17 years ago
|
||
Comment 9•17 years ago
|
||
Comment 10•17 years ago
|
||
Comment 11•17 years ago
|
||
Comment 12•17 years ago
|
||
Comment 13•17 years ago
|
||
Comment 14•17 years ago
|
||
Comment 15•17 years ago
|
||
Comment 16•17 years ago
|
||
Comment 17•17 years ago
|
||
Comment 18•17 years ago
|
||
Comment 19•17 years ago
|
||
Comment 20•17 years ago
|
||
Updated•17 years ago
|
Comment 22•17 years ago
|
||
Assignee | ||
Comment 23•17 years ago
|
||
Assignee | ||
Comment 24•17 years ago
|
||
Assignee | ||
Comment 25•17 years ago
|
||
Assignee | ||
Comment 26•17 years ago
|
||
Assignee | ||
Comment 27•17 years ago
|
||
Assignee | ||
Comment 28•17 years ago
|
||
Assignee | ||
Comment 29•17 years ago
|
||
Assignee | ||
Comment 30•17 years ago
|
||
Comment 31•17 years ago
|
||
Comment 32•17 years ago
|
||
Comment 33•17 years ago
|
||
Comment 34•17 years ago
|
||
Comment 35•17 years ago
|
||
Comment 36•17 years ago
|
||
Assignee | ||
Comment 37•17 years ago
|
||
Assignee | ||
Comment 38•17 years ago
|
||
Comment 39•17 years ago
|
||
Assignee | ||
Comment 40•17 years ago
|
||
Assignee | ||
Comment 41•17 years ago
|
||
Assignee | ||
Comment 42•17 years ago
|
||
Comment 43•17 years ago
|
||
Comment 44•17 years ago
|
||
Comment 45•17 years ago
|
||
Assignee | ||
Comment 46•17 years ago
|
||
Assignee | ||
Comment 47•17 years ago
|
||
Comment 48•17 years ago
|
||
Assignee | ||
Comment 49•17 years ago
|
||
Assignee | ||
Comment 50•17 years ago
|
||
Comment 51•17 years ago
|
||
Assignee | ||
Comment 52•17 years ago
|
||
Assignee | ||
Comment 53•17 years ago
|
||
Assignee | ||
Comment 54•17 years ago
|
||
Assignee | ||
Comment 55•17 years ago
|
||
Assignee | ||
Comment 56•17 years ago
|
||
Comment 57•17 years ago
|
||
Assignee | ||
Comment 58•17 years ago
|
||
Assignee | ||
Comment 61•17 years ago
|
||
Assignee | ||
Comment 63•17 years ago
|
||
Assignee | ||
Comment 64•17 years ago
|
||
Assignee | ||
Updated•17 years ago
|
Assignee | ||
Comment 65•17 years ago
|
||
Assignee | ||
Comment 66•17 years ago
|
||
Comment 67•17 years ago
|
||
Assignee | ||
Comment 68•17 years ago
|
||
Assignee | ||
Comment 69•17 years ago
|
||
Comment 70•17 years ago
|
||
Comment 71•17 years ago
|
||
Comment 72•17 years ago
|
||
Comment 73•17 years ago
|
||
Assignee | ||
Comment 74•17 years ago
|
||
Assignee | ||
Comment 75•17 years ago
|
||
Comment 76•17 years ago
|
||
Comment 77•17 years ago
|
||
Assignee | ||
Comment 78•17 years ago
|
||
Assignee | ||
Comment 79•17 years ago
|
||
Assignee | ||
Comment 80•17 years ago
|
||
Comment 81•17 years ago
|
||
Comment 82•17 years ago
|
||
Assignee | ||
Updated•17 years ago
|
Comment 83•17 years ago
|
||
Updated•17 years ago
|
Comment 84•17 years ago
|
||
Comment 85•17 years ago
|
||
Comment 86•17 years ago
|
||
Assignee | ||
Comment 87•17 years ago
|
||
Assignee | ||
Updated•17 years ago
|
Comment 88•17 years ago
|
||
Assignee | ||
Comment 89•17 years ago
|
||
Assignee | ||
Comment 90•17 years ago
|
||
Comment 91•17 years ago
|
||
Assignee | ||
Comment 92•17 years ago
|
||
Comment 93•17 years ago
|
||
Comment 94•17 years ago
|
||
Assignee | ||
Comment 95•17 years ago
|
||
Comment 96•17 years ago
|
||
Assignee | ||
Comment 98•17 years ago
|
||
Comment 99•17 years ago
|
||
Assignee | ||
Comment 100•17 years ago
|
||
Assignee | ||
Comment 101•17 years ago
|
||
Comment 102•17 years ago
|
||
Comment 103•17 years ago
|
||
Comment 104•17 years ago
|
||
Comment 105•17 years ago
|
||
Comment 106•17 years ago
|
||
Comment 107•17 years ago
|
||
Comment 108•17 years ago
|
||
Comment 109•17 years ago
|
||
Comment 110•17 years ago
|
||
Assignee | ||
Comment 111•17 years ago
|
||
Comment 112•17 years ago
|
||
Assignee | ||
Comment 113•17 years ago
|
||
Comment 114•17 years ago
|
||
Comment 115•17 years ago
|
||
Assignee | ||
Comment 116•17 years ago
|
||
Comment 117•17 years ago
|
||
Assignee | ||
Comment 118•17 years ago
|
||
Comment 119•17 years ago
|
||
Assignee | ||
Comment 120•17 years ago
|
||
Assignee | ||
Comment 121•17 years ago
|
||
Assignee | ||
Comment 122•17 years ago
|
||
Comment 123•17 years ago
|
||
Assignee | ||
Comment 124•17 years ago
|
||
Comment 125•17 years ago
|
||
Comment 126•17 years ago
|
||
Assignee | ||
Comment 127•17 years ago
|
||
Comment 128•17 years ago
|
||
Assignee | ||
Comment 129•17 years ago
|
||
Assignee | ||
Comment 130•17 years ago
|
||
Comment 131•17 years ago
|
||
Assignee | ||
Comment 132•17 years ago
|
||
Comment 133•16 years ago
|
||
Comment 134•16 years ago
|
||
Comment 135•16 years ago
|
||
Assignee | ||
Comment 136•16 years ago
|
||
Assignee | ||
Comment 137•16 years ago
|
||
Comment 138•16 years ago
|
||
Assignee | ||
Comment 139•16 years ago
|
||
Comment 140•16 years ago
|
||
Comment 141•16 years ago
|
||
Comment 142•16 years ago
|
||
Comment 143•16 years ago
|
||
Assignee | ||
Comment 144•16 years ago
|
||
Comment 145•16 years ago
|
||
Comment 146•16 years ago
|
||
Comment 147•16 years ago
|
||
Assignee | ||
Comment 148•16 years ago
|
||
Comment 149•16 years ago
|
||
Assignee | ||
Comment 150•16 years ago
|
||
Assignee | ||
Comment 151•16 years ago
|
||
Assignee | ||
Comment 152•16 years ago
|
||
Comment 153•16 years ago
|
||
Assignee | ||
Comment 154•16 years ago
|
||
Assignee | ||
Comment 155•16 years ago
|
||
Comment 156•16 years ago
|
||
Updated•16 years ago
|
Updated•15 years ago
|
Comment 157•14 years ago
|
||
Assignee | ||
Comment 158•14 years ago
|
||
Comment 159•14 years ago
|
||
Assignee | ||
Comment 160•14 years ago
|
||
Comment 165•6 years ago
|
||
(In reply to Steven Michaud [:smichaud] (Retired) from comment #25)
Turns out I had to make fairly substantial changes to get my patch to
work in both Minefield and Camino. (I now attach my Carbon text-event
handler to the event dispatcher target, and I've stopped storing any
information in the WindowDelegate class (which isn't available to
Camino and other embedders).)I tested the patch on the three URLs mentioned elsewhere in this bug,
in both OS X 10.5.2 and OS X 10.4.11 (in both Minefield and Camino):http://www.playercore.com/bugFiles/ime/imekrjp.swf
http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.
html
https://dirtyharuto.com/ja/video/8440757374680341352/
http://www.playercore.com/bugfiles/146162/AddReturnHTML.htmlOnce again, I'd really like to have more testcases, using different
plugins.Mostly everything seems to work correctly. But there are still some
oddball problems ... which don't seem important compared to the
problems I've solved, but which are still annoying:Remaining problems (that I'm aware of):
When (only in Minefield) the focus is in a Flash plugin, you can't
select either of the Thai keyboards (both are greyed out in the
Flags menu).I'm not sure why this happens, but I suspect that it's because,
when the Flash plugin (running in Minefield) creates its own TSM
document (using NewTSMDocument()), its single supported interface
is of type kTextServiceDocumentInterfaceType (I found this out in
gdb).This problem doesn't happen in Camino ... because (oddly) the Flash
plugin never calls NewTSMDocument() when it's running in Camino.
So I have the browser create a TSM document for use by plugins that
(like Camino) don't create their own (IME won't work without an
active, non-Cocoa TSM document). When I create this TSM document I
make it support a single interface of type
kUnicodeDocumentInterfaceType. I'm pretty sure this is why Camino
doesn't have the disabled-Thai-keyboards problem.If (only in Minefield, only on OS X 10.4.11) I load one of the
Flash/Flex examples (listed above) while a particular keyboard is
active in the browser, I can't change to a different keyboard for
input while that plugin is focused. In order to change the
keyboard (or IME style) in a plugin, I have to change it in the
browser and then reload the plugin.Once again I suspect the Flash plugin is somehow at fault ... but I
don't know how. I really want to be able to test in some other
kind of plugin (like presumably the Adobe plugin) that doesn't do
it's own Cocoa-based IME (as the Java Embedding Plugin does).Here's a tryserver build made with this patch:
https://build.mozilla.org/tryserver-builds/2008-04-09_16:02-smichaud@pobox.
com-bugzilla357670/smichaud@pobox.com-bugzilla357670-firefox-try-mac.dmg
I don't have no idea for this bug.
We don't send any native events to plugin at IME events. Because there are no native events for IME(TSM) on cocoa. When key is downed, the keyDown event is only occurred. We call interpretKeyEvents of super class in keyDown. Then interpretKeyEvents calls NSTextInput methods for IME. So, if we need to send native carbon event (EventRecord) to plugins, we need to generate it ourselves. However, there are no documents for TSM events of EventRecord. We need to know what events are needed by plugins.
Description
•