Bug 40471 - [Qt] Carbon mouse event has uninitialized time stamp
Summary: [Qt] Carbon mouse event has uninitialized time stamp
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 420+
Hardware: Mac (Intel) OS X 10.6
: P3 Normal
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2010-06-11 05:08 PDT by qt-info
Modified: 2014-01-14 09:21 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description qt-info 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)