Bug 26440 - Wrong painting of flash plugin in Windows
Summary: Wrong painting of flash plugin in Windows
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows Vista
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt
Depends on:
Blocks:
 
Reported: 2009-06-16 03:27 PDT by String
Modified: 2010-03-08 06:19 PST (History)
1 user (show)

See Also:


Attachments

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