[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 06:51:06 PDT 2013


--- Comment #4 from Allan Sandfeld Jensen <allan.jensen at digia.com>  2013-07-11 06:53:07 PST ---
(In reply to comment #3)
> (In reply to comment #2)
> > What is the use-case here? 
> To send domain specific key values like(ex, TV Remote Keys like Color Keys[Red, Green, Yellow, Blue], Subtitle, Program Guide,..) to HTML application.
> > 
> > Since this is the historic windows keycode value set here, it must be mapped to correct values, just parsing through Qt keycodes is kind of random and unlikely to be useful unless you control the website on the other end.
> Yes, it is all controlled Web Applications. 
> > 
> > If you have control over the website why not change the website to use the other properties provided by the DOM key events instead of the windows keycode value?
> What other properties in DOM key event? How to dispatch those keys from native to Web App? using script injection?
> According to this patch, sender(native world) & receiver(HTML Web App) knows the key, but WebKit doesn't aware of this and just passes the given value to Web App.

I was thinking of the key value, see http://www.w3.org/TR/DOM-Level-3-Events/#key-values-list

Though I wonder if we support it fully, but I would prefer to add support for that, than a Qt specific passthrough.

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