Bug 40471

Summary: [Qt] Carbon mouse event has uninitialized time stamp
Product: WebKit Reporter: qt-info
Component: Plug-insAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: andersca, benjamin, vestbo
Priority: P3 Keywords: Qt, QtTriaged
Version: 420+   
Hardware: Mac (Intel)   
OS: OS X 10.6   

qt-info
Reported 2010-06-11 05:08:49 PDT
In the Carbon event model, the EventRecord has a field named "when". This field is not initialized for mouse events that are sent to NPP_HandleEvent; it has a garbage value. In the handlMouseEvent function in PluginViewMac.cpp, the "when" field isn't filled in. There are several places in this file where an EventRecord is created, and this is the only one that fails to initialize the when field. (Bug reported against Qt version 4.6.2)
Attachments
Note You need to log in before you can comment on or make changes to this bug.