[Webkit-unassigned] [Bug 51228] WebKit2: Clicking in a selected text field does not clear the selection and set the caret (because WebKit2 doesn't set PlatformMouseEvent::m_activatedWebView?)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 16 20:06:36 PST 2010


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





--- Comment #1 from Adam Roben (aroben) <aroben at apple.com>  2010-12-16 20:06:37 PST ---
I believe this is because WebKit2 isn't setting PlatformMouseEvent::m_activatedWebView.

Classic WebKit sets PlatformMouseEvent::m_activatedWebView to true when this is the first mouse event since we received WM_MOUSEACTIVATE, and to false otherwise. WebKit2 doesn't set this flag at all; it just uses PlatformMouseEvent's default constructor (which leaves this member completely uninitialized!). This can lead to selection problems, as this member is used to decide whether to reset selection or not.

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