[Webkit-unassigned] [Bug 118445] [Qt] QtWebKit should allow sending domain specific keycode to HTML applications

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 11 08:17:36 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=118445





--- Comment #6 from Allan Sandfeld Jensen <allan.jensen at digia.com>  2013-07-11 08:19:37 PST ---
(In reply to comment #5)
> (In reply to comment #4)
> > I was thinking of the key value, see http://www.w3.org/TR/DOM-Level-3-Events/#key-values-list
> 
> So you mean application should rely on the "key" attribute(which is a string representation of a key) of KeyBoardEvent object ? 
>
Yes. It currently also falls back to encoding the Qt keycode as U+<keycode>.

> 
> But how to transfer the string value from Qt to WebKit? By adding new property to QKeyEvent?
> 
Well, we almost already have that in the key property.

> For private applications we could do change it to use "key" attribute rather than "keyCode", but some interactive tv apps(HbbTV/CEHTML apps) refers "keyCode" property to handle the event. I don't think it is possible to change the HbbTV/CEHTML spec to use "key" :( Sorry incase I misinterpreted your comments.

Right, but in those cases we should expand our translation table of keycodes so it matches what those applications expect.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list