[webkit-qt] Main frame contentsSize, iframes and frame flattening with QGraphicsWebView

Antonio Gomes tonikitoo at gmail.com
Mon Sep 6 20:20:30 PDT 2010


Hi Kalle.

I am able to reproduce the problem by running your test case. I do
believe that your expectation is right and current behavior is bug. I
will try to better understand your code tomorrow and possibly file a
bug against bugs.webkit .

I will keep you posted. Nice issue report.

On Wed, Aug 11, 2010 at 6:03 AM, Kalle Vahlman <kalle.vahlman at gmail.com> wrote:
> Hi
> I've been investigating a problem related to the contentsSize of main frames
> of QWebPages. After some digging and testing I've come to the conclusion
> that the main frame contentsSize is not being updated properly.
> I've attached the test case I have, it's simply a QGraphicsWebView with
> resizesToContents, tiled backing store and frame flattening enabled. The
> page loaded (inline) to it has a longish "fullscreen" iframe in it.
> The expectation I have is that the main frame contentsSize would (due to
> frame flattening) be expanded to include the iframe too. However, this
> doesn't happen and the main frame reports the original geometry set to the
> QGraphicsWebView. However, if I toggle zoomFactor to 1.1 and back to 1.0 the
> contentsSize *is* updated to include the iframe too. This leads me to
> believe that the frame flattening isn't resulting in initial notify of the
> change in contentsSize.
> I tried to see where that notification is usually sent but got lost quickly
> after FrameView...
> If someone could try reproducing this and maybe comment on whether my
> expectation is correct or not, I would greatly appreciate that.
> --
> Kalle Vahlman, zuh at iki.fi
> Powered by http://movial.com
> Interesting stuff at http://sandbox.movial.com
> See also http://syslog.movial.fi
>
>
> _______________________________________________
> webkit-qt mailing list
> webkit-qt at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
>
>



-- 
--Antonio Gomes


More information about the webkit-qt mailing list