[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
Mon Jul 22 04:11:48 PDT 2013


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





--- Comment #18 from Arunprasad Rajkumar <arurajku at cisco.com>  2013-07-22 04:11:40 PST ---
(In reply to comment #17)
> The problem with using other values in QKeyEvent is that if they happen to match something already recognized the key will trigger the wrong actions.
> 
> I took a look at the HbbTv codes, and there is a big problem here. While many of the new keys use values larger than 255 and therefore do not conflict with traditional keycodes, there are several that does. 

Thanks for looking HbbTV specific keys :)
> 
> For instance fast-forward and rewind are mapped differently than on GoogleTV. This means you can either have the browser working with hbbtv sites or have it working with GoogleTV sites, but not both.

By default existing behaviour is not changed at all. It is upto the QtWebKit library user to decide whether to support GoogleTV/HbbTV. If the library user wants both then they can detect the application type using <meta> tags or mime types(HbbTV apps has application/ce-html or application/x-ce-html or application/vnd.hbbtv.xhtml+xml,..).

> 
> If you really need this, I would suggest adding another property to QtKeyEvent and pass your domain specific keycodes in that, and if present use that in the PlatformKeyEventQt to set the keycode, but we can not support a poorly thought through standard in trunk that conflicts with existing websites.

Hope it won't conflict, because it is decided by QtWebKit library user.

-- 
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