Bug 26440

Summary: Wrong painting of flash plugin in Windows
Product: WebKit Reporter: String <tiansjun>
Component: Plug-insAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: jturcotte
Priority: P2 Keywords: Qt
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows Vista   

Description String 2009-06-16 03:27:06 PDT
While use the code "view->page()->mainFrame()->render ( & pixmap) " to dump a webpage with flash content into image, the offset of flash content is wrong:

http://lh6.ggpht.com/_7B4pgaO4oRQ/Sjdx4P0mB9I/AAAAAAAAAMQ/sUnrTh5FRcc/12540_thumb_screenshot-1.jpg

The offset seems to be doubled.I have checked the codes. There may be some bugs in this two function:
getWindowsContext() in GraphicsContextQt.cpp and
paintWindowedPluginIntoContext() in PluginViewWin.cpp

I comments the SetWorldTransform() function and it works well now.
Comment 1 Jocelyn Turcotte 2010-03-08 06:19:10 PST
Resolving the bug report as invalid until a compilable test case is attached.

Please refer the QtWebKit bug reporting guidelines:
See http://trac.webkit.org/wiki/QtWebKitBugs