I create a stack of image elements in a stack, meaning all with same parent, and anchors.fill: parent. The images contains transperant gifs that togeather make up the content of the widget. Each time I add a new Image element, I press the refresh button on the preview, and plasmate crashes with the below backtrace. Restarting plasmate, the preview loads without problems. At a later time, those elements will be generated based on user choices, but for now, I was just adding them with static urls to see what the result would look like. The code, with 4 layers in the image stack looks like this: // Main area - display selected area Rectangle { id: "mapArea" anchors.top: toolbar.bottom anchors.bottom: controls.top width: parent.width color: "#eee" Image { anchors.fill: parent source: "http://ifm.fcoo.dk/data/dynamic_data/DMI_HIRLAM-S03_NSBALTIC_3NM/DMI_HIRLAM-S03_NSBALTIC_3NM_FYN_SOUTH_Wind_ms_WBGYR_10colors_Field_20130208100000.gif" fillMode: Image.PreserveAspectFit smooth: true } Image { anchors.fill: parent source: "http://ifm.fcoo.dk/data/static_data/FYN_SOUTH_CoastLine.gif" fillMode: Image.PreserveAspectFit smooth: true } Image { anchors.fill: parent source: "http://ifm.fcoo.dk/data/dynamic_data/DMI_HIRLAM-S03_NSBALTIC_3NM/DMI_HIRLAM-S03_NSBALTIC_3NM_FYN_SOUTH_Wind_Direction_black_20130208100000.gif" fillMode: Image.PreserveAspectFit smooth: true } Image { anchors.fill: parent source: "http://ifm.fcoo.dk/data/dynamic_data/FRV_WW3_DKINNER_1NM/FRV_WW3_DKINNER_1NM_FYN_SOUTH_WaveDir_deg_black_20130208100000.gif" fillMode: Image.PreserveAspectFit smooth: true } } Backtrace: Application: Plasmate (plasmate), signal: Segmentation fault [Current thread is 1 (Thread 0x7f5af2904780 (LWP 19244))] Thread 3 (Thread 0x7f5ad5081700 (LWP 19245)): #0 0x00007f5aee61d8f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f5ae8e213a7 in ?? () from /usr/lib/libQtScript.so.4 #2 0x00007f5ae8e213d9 in ?? () from /usr/lib/libQtScript.so.4 #3 0x00007f5aee619e0e in start_thread () from /lib/libpthread.so.0 #4 0x00007f5aebb9b1dd in clone () from /lib/libc.so.6 Thread 2 (Thread 0x7f5a4e534700 (LWP 19419)): #0 0x00007f5aed1c0d8e in ?? () from /usr/lib/libQtGui.so.4 #1 0x00007f5aed1c1016 in ?? () from /usr/lib/libQtGui.so.4 #2 0x00007f5aed1c3a73 in ?? () from /usr/lib/libQtGui.so.4 #3 0x00007f5aed1c3d2c in ?? () from /usr/lib/libQtGui.so.4 #4 0x00007f5aed1e4a16 in ?? () from /usr/lib/libQtGui.so.4 #5 0x00007f5aed1ea225 in QTextCursor::insertText(QString const&, QTextCharFormat const&) () from /usr/lib/libQtGui.so.4 #6 0x00007f5aed1ea66a in QTextCursor::insertText(QString const&) () from /usr/lib/libQtGui.so.4 #7 0x00007f5aed1b22bc in QTextDocument::setPlainText(QString const&) () from /usr/lib/libQtGui.so.4 #8 0x00007f5aed185016 in ?? () from /usr/lib/libQtGui.so.4 #9 0x00007f5aed386d81 in QTextEdit::setPlainText(QString const&) () from /usr/lib/libQtGui.so.4 #10 0x0000000000468e9f in ?? () #11 0x00000000004488f4 in _start () Thread 1 (Thread 0x7f5af2904780 (LWP 19244)): [KCrash Handler] #5 0x00007f5aed1a8e2d in ?? () from /usr/lib/libQtGui.so.4 #6 0x00007f5aed1aaeb5 in QTextFormatCollection::indexForFormat(QTextFormat const&) () from /usr/lib/libQtGui.so.4 #7 0x00007f5aed1e49f1 in ?? () from /usr/lib/libQtGui.so.4 #8 0x00007f5aed1ea225 in QTextCursor::insertText(QString const&, QTextCharFormat const&) () from /usr/lib/libQtGui.so.4 #9 0x00007f5aed1ea66a in QTextCursor::insertText(QString const&) () from /usr/lib/libQtGui.so.4 #10 0x00007f5aed1b22bc in QTextDocument::setPlainText(QString const&) () from /usr/lib/libQtGui.so.4 #11 0x00007f5aed185016 in ?? () from /usr/lib/libQtGui.so.4 #12 0x00007f5aed386d81 in QTextEdit::setPlainText(QString const&) () from /usr/lib/libQtGui.so.4 #13 0x0000000000468e9f in ?? () #14 0x00000000004488f4 in _start () Reproducible: Always
Git commit d8902e8732263499f394c0f992c8e5659cbc6448 by Giorgos Tsiapaliokas. Committed on 14/02/2013 at 11:56. Pushed by tsiapaliwkas into branch 'plasmate/1.0'. Make the konsolepreviewer to use its own custom event REVIEW: 108944 Related: bug 314653 FIXED-IN: 1.0 M +75 -33 plasmate/konsole/konsolepreviewer.cpp M +22 -4 plasmate/konsole/konsolepreviewer.h M +4 -14 plasmate/main.cpp M +17 -50 plasmate/mainwindow.cpp M +0 -1 plasmate/mainwindow.h http://commits.kde.org/plasmate/d8902e8732263499f394c0f992c8e5659cbc6448
Git commit 5ae55561bc219d05ad966c29145f4f87f24b373f by Giorgos Tsiapaliokas. Committed on 14/02/2013 at 11:56. Pushed by tsiapaliwkas into branch 'master'. Make the konsolepreviewer to use its own custom event REVIEW: 108944 Related: bug 314653 FIXED-IN: 1.0 M +75 -33 plasmate/konsole/konsolepreviewer.cpp M +22 -4 plasmate/konsole/konsolepreviewer.h M +4 -14 plasmate/main.cpp M +17 -50 plasmate/mainwindow.cpp M +0 -1 plasmate/mainwindow.h http://commits.kde.org/plasmate/5ae55561bc219d05ad966c29145f4f87f24b373f