WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
92905
BUG in QTWebkit 4.8 > Flash
https://bugs.webkit.org/show_bug.cgi?id=92905
Summary
BUG in QTWebkit 4.8 > Flash
Janton
Reported
2012-08-01 13:38:33 PDT
Hallo All, I'm not sure were to report this issue, so i try to report it here. It seems there is a terrible bug in the last QT with Webkit. When i scroll down a page that contains flash content, the flash moves down also.. Well it's difficult to explain so i created some screenshots. I tried this on two different windows machines and both same result. The issue is when you scroll down and up..! In this example i used: www.youtube.com (youtube only has problems with a banner.. if there is banner ofcourse!)
http://www.wechoosethemoon.org/
(the starting loader and well.. then the whole site)
Attachments
scrolling up and down on this page: http://www.wechoosethemoon.org/
(
deleted
)
2012-08-01 13:40 PDT
,
Janton
no flags
Details
youtube page when there is a banner
(43.45 KB, image/jpeg)
2012-08-01 13:40 PDT
,
Janton
no flags
Details
Paint the flash video in the actual rect
(1.34 KB, patch)
2012-09-12 17:14 PDT
,
Patrick Li
no flags
Details
Formatted Diff
Diff
Patch
(2.08 KB, patch)
2012-09-18 08:34 PDT
,
Simon Hausmann
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Janton
Comment 1
2012-08-01 13:40:00 PDT
Created
attachment 155875
[details]
scrolling up and down on this page:
http://www.wechoosethemoon.org/
Janton
Comment 2
2012-08-01 13:40:40 PDT
Created
attachment 155876
[details]
youtube page when there is a banner
Janton
Comment 3
2012-08-01 13:42:08 PDT
i don't know what verion QTWebkit has in the last 4.8.2 release?
Janton
Comment 4
2012-08-01 13:44:07 PDT
I also reported the issue here:
http://www.qtcentre.org/threads/50286-BUG-in-QTWebkit-4-8-gt-Flash
but no responds yet! Am I the only one?
c0d3r
Comment 5
2012-08-10 01:05:14 PDT
Have the same behaviour in QtWebKit v4.9.2. There is no such bug in QtWebKit v 4.7.4.
Patrick Li
Comment 6
2012-09-12 17:10:52 PDT
It's being painted to the wrong Rect. The following patch fixes it: Index: win/PluginViewWin.cpp =================================================================== --- Source/WebCore/plugins/win/PluginViewWin.cpp (revision 63895) +++ Source/WebCore/plugins/win/PluginViewWin.cpp (working copy) @@ -618,7 +618,8 @@ ASSERT(parent()->isFrameView()); IntRect rectInWindow = static_cast<FrameView*>(parent())->contentsToWindow( frameRect()); - LocalWindowsContext windowsContext(context, rectInWindow, m_isTransparent); + HDC hdc = context->getWindowsContext(rectInWindow, m_isTransparent); + // On Safari/Windows without transparency layers the GraphicsContext return s the HDC // of the window and the plugin expects that the passed in DC has window co ordinates. @@ -627,14 +628,15 @@ #if !PLATFORM(QT) && !OS(WINCE) if (!context->inTransparencyLayer()) { XFORM transform; - GetWorldTransform(windowsContext.hdc(), &transform); + GetWorldTransform(hdc, &transform); transform.eDx = 0; transform.eDy = 0; - SetWorldTransform(windowsContext.hdc(), &transform); + SetWorldTransform(hdc, &transform); } #endif - paintIntoTransformedContext(windowsContext.hdc()); + paintIntoTransformedContext(hdc); + context->releaseWindowsContext(hdc, frameRect(), m_isTransparent); }
Patrick Li
Comment 7
2012-09-12 17:14:23 PDT
Created
attachment 163742
[details]
Paint the flash video in the actual rect
Damian
Comment 8
2012-09-13 06:36:21 PDT
Great thank you very much you build webkit 2.2.2 or which version? alone or with qt?
Damian
Comment 9
2012-09-13 13:00:44 PDT
(In reply to
comment #8
)
> Great thank you very much i confirm work well on xp and win 7 use qt webkit 2.2.2 from here
https://gitorious.org/webkit/qtwebkit/trees/qtwebkit-2.2.2
Jocelyn Turcotte
Comment 10
2012-09-17 06:32:15 PDT
Comment on
attachment 163742
[details]
Paint the flash video in the actual rect This seemed to have been broken in
http://trac.webkit.org/changeset/67125
I wonder if there would be a way to keep using LocalWindowsContext, maybe by adjusting the coordinates like GTK did in
http://trac.webkit.org/changeset/121441
.
Simon Hausmann
Comment 11
2012-09-17 06:36:54 PDT
(In reply to
comment #10
)
> (From update of
attachment 163742
[details]
) > This seemed to have been broken in
http://trac.webkit.org/changeset/67125
> I wonder if there would be a way to keep using LocalWindowsContext, maybe by adjusting the coordinates like GTK did in
http://trac.webkit.org/changeset/121441
.
Well spotted!!
Allan Sandfeld Jensen
Comment 12
2012-09-17 07:28:51 PDT
I think is a duplicate of
bug #71950
Allan Sandfeld Jensen
Comment 13
2012-09-17 07:30:12 PDT
***
Bug 71950
has been marked as a duplicate of this bug. ***
Simon Hausmann
Comment 14
2012-09-18 08:34:07 PDT
Created
attachment 164568
[details]
Patch Patch that enables the same code path as Gtk. Tested on Windows with youtube and QtTestBrowser.exe
WebKit Review Bot
Comment 15
2012-09-19 01:43:11 PDT
Comment on
attachment 164568
[details]
Patch Clearing flags on attachment: 164568 Committed
r128978
: <
http://trac.webkit.org/changeset/128978
>
WebKit Review Bot
Comment 16
2012-09-19 01:43:15 PDT
All reviewed patches have been landed. Closing bug.
Stephen
Comment 17
2012-11-12 13:01:09 PST
***
Bug 101242
has been marked as a duplicate of this bug. ***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug