Mohammed,
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't do any good
then.
I will double check applying this change to my two applications that depend
on it and let you know of the results.
Thank you very much for now!
Felipe
On Thu, Apr 5, 2012 at 9:48 AM, Mohammed Hassan mohammed.2.has...@nokia.com
wrote:
On Sun, 2012-04-01 at 00:17 -0400, ext Felipe Crochik wrote:
I have reported similar problem before but have never figured out a
solution for it. Hopefully I will have better luck this time - I have
two applications waiting for a workaround so I can release them to the
Harmattan platform.
The application will crash with segfault if the javascript tries to
update the screen when (or after) the user switches to the task
switcher on harmattan. This is the output:
Meego graphics system destroyed
QPaintDevice: Cannot destroy paint device that is being painted
Segmentation fault
Finished running remote process. Exit code was 139.
I have now a very simple example that reproduce the issue 100% of the
time.
I can't report this to the harmattan bug web site anymore so I am
posting to any and all channels were I can find someone with expertise
to help me.
In order to avoid a long e-mail with attached files I created a simple
web page with more information: http://crochik.com/webview/
Have you tried setting the viewport for QDeclarativeView to QGLWidget ?
QmlApplicationViewer viewer;
viewer.setViewport(new QGLWidget);
Seeing a backtrace would probably help finding a better workaround.
Cheers,
--
Senior Software Engineer
Maemo Software
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers