On Sun, 21 Dec 2008, Hermann Schwärzler wrote:

I did some more testing and found the problem: with www.heise.de for some reason a call to page->mainFrame()->render() changes the value of page->mainFrame()->contentsSize() (it grows in width)!

I patched the code to check that and retry the rendering if the sizes differ. for www.heise.de it takes 6 to 8 iterations until the size changes no more! I had not time to do extensive testing but I found no other site were this happens!
any thought?
is this a bug or a feature of QWebPage/QFrame?

Hmpf. I think about adding optional size parameters to the tool, so one can choose the size of a snapshot. Probably this is more useful than special optimizations for www.heise.de :-)

Will think about it.

Ciao
--
http://www.dstoecker.eu/ (PGP key available)
_______________________________________________
josm-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to