OK, I am not really sure what goes on, but we had this problem before. I believe that the basiskom team are the ones responsible for the QtWebKit module delivery into PR1.2, but I see that you have already cc'ed Bruno.<div>

<br></div><div>Kenneth<br><br><div class="gmail_quote">On Mon, Apr 9, 2012 at 7:46 PM, Felipe Crochik <span dir="ltr"><<a href="mailto:felipe@crochik.com">felipe@crochik.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

UPDATE:<br>I tested the application  ( <a href="http://www.crochik.com/webview/resize.zip" target="_blank">http://www.crochik.com/webview/resize.zip</a> ) on the harmattan emulator and confirmed my assumption - it is actually a regression.<br>


<br>The behavior has changed from PR1.1 to PR1.2. This application on the PR1.2 emulator will enter an endless loop. On PR1.1 it seems that the "window size" does not change when the QGraphicsWebView size change. In fact it seems that it is "stored" when the page is loaded (would have to debug further but it seems to use the QGraphicsWebView size on the time of the loading of the page).<span class="HOEnZb"><font color="#888888"><br>


<br>Felipe</font></span><div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Felipe Crochik</b> <span dir="ltr"><<a href="mailto:felipe@crochik.com" target="_blank">felipe@crochik.com</a>></span><br>


Date: Mon, Apr 9, 2012 at 11:17 AM<br>Subject: Re: [webkit-qt] Build Qt WebKit for Harmattan<br>To: Kenneth Rohde Christiansen <<a href="mailto:kenneth.christiansen@gmail.com" target="_blank">kenneth.christiansen@gmail.com</a>><br>


Cc: <a href="mailto:webkit-qt@lists.webkit.org" target="_blank">webkit-qt@lists.webkit.org</a><br><br><br>Kenneth,<br>It would be great if I could use Qt5 libraries but if I do, I won't be able to distribute my applications through Ovi until they become officially supported by Nokia (what probably will never happen).<br>


Isn't the code for this specialized version available anywhere? I assume it depends on the devices' existing Qt 4.7.4 libraries so it proves it is possible, right?<br>
<br>I am actually trying to figure out a workaround/fix for an issue with adjusting the size of the QGraphicsView based on the mainframe size when the mainframe size changes based on the window size. I just tried a simple html page I created (<a href="http://www.crochik.com/webkit" target="_blank">http://www.crochik.com/webkit</a>) on the grob browser and it seems that it also has issues handling it. It sure does much better than the WebView but still is not "accurate" or "defined". The interesting fact is that I think it does work on symbian WebKit and used to work on Harmattan before PR1.2 (I think based on other tests but haven't double tested yet)<br>



<br>On my "half baked tests" on harmattan/grob browser it seems that the behavior is completely inconsistent. In some cases it will actually work just fine (a few times I loaded it on landscape mode). In others will "almost" work where the div will end up with the right size but the "view" will be much taller than the DIV (what it should not happen because the div's height is based on the window). In some it seems that will enter the "grow loop" but eventually will figure out to stop and will end up with a view/DIV size that has not relation to the original window size.<br>



<br>I also created a very simple project using the WebView that will demonstrate how it enters an endless loop when accessing the URL above. You can download it from <a href="http://www.crochik.com/webview/resize.zip" target="_blank">http://www.crochik.com/webview/resize.zip</a> <br>



I haven't tested this code on a Harmattan device before PR1.2 but I believe based on other tests I ran that it would work. I also believe it will work on Symbian (will try to test later today to be sure).<br><br>p.s. Firefox on Harmattan also has issues dealing with this page. It seems to detect the "chicken/egg loop" and eventually settles down to a height that it seems to be based on the actual screen height ( the final height is different whether you are in portrait or landscape).<br>



<br>Felipe<br><br>Thanks,<br>Felipe<div><div><br><br>
<br><div class="gmail_quote">On Mon, Apr 9, 2012 at 10:16 AM, Kenneth Rohde Christiansen <span dir="ltr"><<a href="mailto:kenneth.christiansen@gmail.com" target="_blank">kenneth.christiansen@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi there,<div><br></div><div>Harmattan comes with two webkit libraries. The Qt4.x / WebKit1 version which is part of the framework and a specialized version (based on WebKit2) only available for the browser. It is possible to run WebKit2 on Harmattan but it requires Qt 5.x. The team behind the snowshoe.cc browser are packaging Qt 5 packages for Harmattan and hang around in #qtwebkit and #showshoe on <a href="http://freenode.net" target="_blank">freenode.net</a>.</div>






<div><br></div><div>Cheers,</div><div>Kenneth</div><div><br><div class="gmail_quote"><div><div>On Sun, Apr 8, 2012 at 3:35 AM, Felipe Crochik <span dir="ltr"><<a href="mailto:felipe@crochik.com" target="_blank">felipe@crochik.com</a>></span> wrote:<br>






</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>I have noticed that Harmattan PR1.2 shows version 2.2 for libqtqwebkit4. I remember reading the discussion about the WebKit x qt Webkit versions but can't remember the details. Does 2.2.0 version means it includes WebKit2?<br>







If so, since the SDK repository was not updated (the SDK version is still 2.1) how can I get the development version of the package so I can build against it?<br><br>Or.... I would like to build my own version of WebKit2 to distribute with my application but can't find instructions. Is it possible (Harmattan has Qt 4.7.4)? I believe Grob (the webkit based browser on Harmattan) uses WebKit2 so I would assume it is... <br>







<br>p.s. Before PR1.2 I could use <span style="color:#800080">QGraphicsWebView::</span><span style="color:#008000">setResizesToContents</span> without issues. The same application after PR1.2 will enter a endless loop when the page resizes its content based on the size of the window. I had noticed the same behavior on Windows but it doesn't happen on Symbian and didn't happen before PR1.2. <br>







<br>Thanks, <br>Felipe<br><br><br>
<br></div></div><div>_______________________________________________<br>
webkit-qt mailing list<br>
<a href="mailto:webkit-qt@lists.webkit.org" target="_blank">webkit-qt@lists.webkit.org</a><br>
<a href="http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt" target="_blank">http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt</a><br>
<br></div></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Kenneth Rohde Christiansen<br>Senior Engineer<br>Nokia Mobile Phones, Browser / WebKit team<br>Phone  <a href="tel:%2B45%204093%200598" value="+4540930598" target="_blank">+45 4093 0598</a> / E-mail kenneth at webkit<a href="http://gmail.com" target="_blank">.</a>org<br>






<br><a href="http://codeposts.blogspot.com" target="_blank">http://codeposts.blogspot.com</a> ﹆﹆﹆<br>
</font></span></div>
</blockquote></div><br>
</div></div></div><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Kenneth Rohde Christiansen<br>Senior Engineer<br>Nokia Mobile Phones, Browser / WebKit team<br>Phone  +45 4093 0598 / E-mail kenneth at webkit<a href="http://gmail.com" target="_blank">.</a>org<br>

<br><a href="http://codeposts.blogspot.com" target="_blank">http://codeposts.blogspot.com</a> ﹆﹆﹆<br>
</div>