Mohammed,<br><br>It is funny.... I just tried with the example code I published and now it does not crash anymore. I had tried before on a different application  (with my custom version of the webview component) and it didn&#39;t do any good then. <br>
I will double check applying this change to my two applications that depend on it and let you know of the results.<br><br>Thank you very much for now!<br>Felipe<br><br><div class="gmail_quote">On Thu, Apr 5, 2012 at 9:48 AM, Mohammed Hassan <span dir="ltr">&lt;<a href="mailto:mohammed.2.hassan@nokia.com" target="_blank">mohammed.2.hassan@nokia.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>On Sun, 2012-04-01 at 00:17 -0400, ext Felipe Crochik wrote:<br>
&gt; I have reported similar problem before but have never figured out a<br>
&gt; solution for it. Hopefully I will have better luck this time - I have<br>
&gt; two applications waiting for a workaround so I can release them to the<br>
&gt; Harmattan platform.<br>
&gt;<br>
&gt; The application will crash with segfault if the javascript tries to<br>
&gt; update the screen when (or after) the user switches to the task<br>
&gt; switcher on harmattan. This is the output:<br>
&gt; Meego graphics system destroyed<br>
&gt;<br>
&gt; QPaintDevice: Cannot destroy paint device that is being painted<br>
&gt;<br>
&gt; Segmentation fault<br>
&gt;<br>
&gt; Finished running remote process. Exit code was 139.<br>
&gt;<br>
&gt;<br>
&gt; I have now a very simple example that reproduce the issue 100% of the<br>
&gt; time.<br>
&gt; I can&#39;t report this to the harmattan bug web site anymore so I am<br>
&gt; posting to any and all channels were I can find someone with expertise<br>
&gt; to help me.<br>
&gt;<br>
&gt; In order to avoid a long e-mail with attached files I created a simple<br>
&gt; web page with more information: <a href="http://crochik.com/webview/" target="_blank">http://crochik.com/webview/</a><br>
<br>
</div></div>Have you tried setting the viewport for QDeclarativeView to QGLWidget ?<br>
<br>
QmlApplicationViewer viewer;<br>
<br>
viewer.setViewport(new QGLWidget);<br>
<br>
Seeing a backtrace would probably help finding a better workaround.<br>
<br>
Cheers,<br>
<span><font color="#888888"><br>
--<br>
Senior Software Engineer<br>
Maemo Software<br>
<br>
</font></span></blockquote></div><br>