Bug 35682

Summary: [Qt] rendering issue of Qt WebKit's plugin on Mac OS X 10.5, 10.6
Product: WebKit Reporter: Tor Arne Vestbø <vestbo>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: girish, hausmann, kent.hansen
Priority: P2 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Bug Depends on:    
Bug Blocks: 35962    

Description Tor Arne Vestbø 2010-03-03 07:14:06 PST
This bug report originated from issue QTBUG-5286
http://bugreports.qt.nokia.com/browse/QTBUG-5286

--- Description ---

There is an application that uses an instance of QWebView to render certain html. That html uses javascript to construct it's contents dynamically and uses Qt plugin via standard object tag. Application and html with all the corresponding resources are attached in the single zip archive, in order to see the problem it is sufficient to unpack archive, compile it (e.g. using QtCreator) and just launch application, after launching you need to scroll down fast using mouse wheel or corresponding gesture on the laptop mouse pad. Sometimes problem occured when user scrolls window using scrollbar.

<p>Actual result of the scrolling is as in the attached file "screenshot.png": WebKit renders only part of the plugin.<br/>
Expected result: WebKit renders full area of the plugin.</p>

<p>The mentioned html represents a vertical list of 1000 items.<br/>
The mentioned Qt plugin just renders one of the images that resides in the app resources. Problem reveals either if that plugin is an instance of QLabel or a particular descendant of QWidget that renders image in the overriden paint function.</p>

<p>This issue is not revealed on Windows and Linux.</p>
Comment 1 Kent Hansen 2010-03-17 02:53:27 PDT
The testcase just hangs for me (spinning rainbow wheel). Tested on 10.5 against r55986, Qt 4.7.
Comment 2 Simon Hausmann 2010-03-17 15:51:13 PDT
Girish, any idea off the top of your head about this bug?

The original bug report was against Qt 4.5...
Comment 3 Luiz Agostini 2010-06-23 11:20:56 PDT
After a long time (many minutes) the spinning rainbow wheel disappeared and I could see the list. I did not notice any rendering issues in the list even after scrolling it a lot.