[Webkit-unassigned] [Bug 12326] New: Changes to mouse events to make them work with windows native widgets

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 18 14:50:47 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12326

           Summary: Changes to mouse events to make them work with windows
                    native widgets
           Product: WebKit
           Version: 420+ (nightly)
          Platform: PC
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: whereismichelleb2 at yahoo.com


In the windows port, we are using some instances of native widgets, and we'd
like mouse events to be able to pass through the EventHandler into the
appropriate widget.  There is some plumbing for this already for the mouse-down
event, but not for other events.  There appears to be some confusion around
whether this is for a traditional windows-style SetCapture() or something else.

Without an equivalent NSView, I see no way to get mouse events to widgets other
than to pass all 3 mouse event types (mouse-down, mouse-release, mouse-move) to
the widgets.  Capturing still needs to be done, albeit a separate issue from
this bug.

This patch just plumbs these and adds a couple of stubs for the mac version in
a benign way.  Also store the native mouse event information (hwnd, msg,
wparam, and lparam) into the PlatformMouseEvent.h so that we don't convert back
and forth obsessively.

There is a chance I'm not understanding the underlying design for windows; if
so, let me know.  But after looking at the code, it appears that the windows
version doesn't quite work yet, and this simple patch is a reasonable way to
fix it.  Advice welcome!


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



More information about the webkit-unassigned mailing list