[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
Tue Jul 30 04:45:46 PDT 2013


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





--- Comment #35 from Jocelyn Turcotte <jocelyn.turcotte at digia.com>  2013-07-30 04:45:32 PST ---
(In reply to comment #31)
> > I don't see any use case where a 0 key to a QKeyEvent is expected, so this could allow to shape legacy web key events.
> 
> nativeVirtualKey() property may have some other value in window systems like X11(xcb_keycode_t), DirectFB,.. If I say simply, Allen(& me too) don't want to break the existing behavior unless QtWebKit embedder decided to override by enabling a QWebSettings :)

The switch of behavior would be done when QKeyEvent::key() returns 0, which isn't a normal use case at all in Qt, and should never happen. What I mean is that using a QWebSettings + key() = 0 should have the same scope of effect as just key() = 0.

I just don't like this boolean passing of the QWebSetting down to PlatformKeyboardEvent on each event.

(btw, his name is Allan, not Allen)

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