Bug 40042 - [Qt] Hovering the mouse cursor on a Flash content causes very high CPU load
Summary: [Qt] Hovering the mouse cursor on a Flash content causes very high CPU load
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2010-06-01 22:53 PDT by Ryuichi KUBUKI
Modified: 2014-01-28 20:28 PST (History)
3 users (show)

See Also:


Attachments
testcase (1.27 MB, application/octet-stream)
2010-06-01 22:54 PDT, Ryuichi KUBUKI
no flags Details

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