Bug 40042

Summary: [Qt] Hovering the mouse cursor on a Flash content causes very high CPU load
Product: WebKit Reporter: Ryuichi KUBUKI <ryukbk>
Component: WebKit QtAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: andersca, diegohcg, kbalazs
Priority: P2 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
testcase none

Description Ryuichi KUBUKI 2010-06-01 22:53:41 PDT
The affected environment is Flash 10.1.51.45 + Qt 4.7 Beta + Windows XP SP3 (Japanese).

[How to Reproduce]

1. Build and run browser.exe in the Qt demos
2. Extract the attached zip
3. Open .html with browser.exe
4. Hover the mouse cursor around the left side of the Flash content

[Actual Result]

CPU usage spikes to 50% (full load on 1 of 2 CPU cores)

[Expected Result]

A lot less CPU load



On Safari 4.0.5 in the same PC, it's under 10% load.
Comment 1 Ryuichi KUBUKI 2010-06-01 22:54:38 PDT
Created attachment 57622 [details]
testcase
Comment 2 Balazs Kelemen 2010-06-04 05:25:10 PDT
I tried it on linux with the QtTestBrowser of WebKit trunk with qt-4.6.2,  flash 10.0.22.87. The cpu load was normal (between about 10-35%).
I would ask you to run your test case against the trunk.
Comment 3 Ryuichi KUBUKI 2010-06-06 17:39:07 PDT
(In reply to comment #2)
> I tried it on linux with the QtTestBrowser of WebKit trunk with qt-4.6.2,  flash 10.0.22.87. The cpu load was normal (between about 10-35%).
> I would ask you to run your test case against the trunk.

Running the testcase with WebKit r60645 + Qt 4.6.1 (built with VS2008) on Windows Server 2003 shows the same behavior where CPU load spikes when I move the mouse cursor on the Flash swf.

I guess something is wrong about window message processing on Windows while it's OK on Linux.
Comment 4 Ryuichi KUBUKI 2010-07-11 21:40:49 PDT
Still happening on the QtTestBrowser.exe with WebKit r61615 + Qt 4.6.3 (built with VS2008) + Flash 10.1.53.64 + Windows XP SP3.

Can someone on Windows confirm this? A test case is available.
Comment 5 Diego Gonzalez 2010-07-21 06:18:45 PDT
Please someone try to confirm it on Windows