Bumping this....I'm still getting these warnings on resize events but otherwise my app seems normal.<div><br></div><div>BZ<br><br><div class="gmail_quote">On Fri, Jul 22, 2011 at 12:36 AM, Brian Zambrano <span dir="ltr"><<a href="mailto:brianz@gmail.com">brianz@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>I'm attempting to use flot, a jquery/javascript plotting library to draw plots in a QWebView.  Everything goes well except that I need to resize the plot as the window resizes.  I'm doing this in Javascript, of course.  Once the resize occurs and my redraw callback fires, I get a warning over and over:</div>

<div><br></div>QPainter::end: Painter ended with 2 saved states<div><br></div><div>A short program program to reproduce the issue is here: <a href="http://pastebin.com/tA4xSMLC" target="_blank">http://pastebin.com/tA4xSMLC</a></div>
<div>
<br></div><div>When I comment out the redrawing javascript code, which is using the canvas tag, the warnings disappear.  I suspect it's something with the canvas element.</div><div><br></div><div>Is that warning something to be concerned about?</div>

<div><br></div><font color="#888888"><div>BZ</div><div><br></div><div><br></div>
</font></blockquote></div><br></div>