WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
40472
[Qt] In Carbon event model, NPP_SetWindow is called too often
https://bugs.webkit.org/show_bug.cgi?id=40472
Summary
[Qt] In Carbon event model, NPP_SetWindow is called too often
qt-info
Reported
2010-06-11 05:17:54 PDT
In the Carbon event model, NPP_SetWindow is called for every redraw. It should be called only when the window geometry has changed. There is an easy workaround: Check for equality of the NPP_SetWindow parameters and the parameters from the previous call before recomputing anything. In PluginViewMac.cpp, there is a call to setNPWindowIfNeeded() inside the paint(...) function. I believe this may be the culprit. Basically, I'm seeing a call to NPP_SetWindow (with the same parameters each time) before each update event, which is completely unnecessary and different from every other browser I'm supporting so far. (Bug reported against Qt version 4.6.2)
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug