Bug 29435
| Summary: | [Qt] SqueezeLabel::paintEvent() is CPU intensive when the text is elided | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tor Arne Vestbø <vestbo> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | hausmann |
| Priority: | P2 | Keywords: | Qt |
| Version: | 528+ (Nightly build) | ||
| Hardware: | Other | ||
| OS: | OS X 10.5 | ||
Tor Arne Vestbø
This bug report originated from issue QTBUG-3502
<http://bugreports.qt.nokia.com/browse/QTBUG-3502>
--- Description ---
In Qt Demo Browser, if you go on any website and you try to download a
"Long Named File" e.g.
test_test_test_test_test_test_test_test_test_test_test_test_test_test_test_test_test_test_test_test_test.zip
When the download Window opens and the download starts open task Manager and check the CPU usage, the download Window is eating up all CPU resources. On a normal Processor, the CPU usage will go up to 99%-100%, on a dual core processor, the CPU usage will go up to 49% - 50%
If the download window is resized to be able to fit the name fully on the screen, the CPU usage drops down to zero.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Simon Hausmann
This is not a WebKit issue