Adding webengineview type in plasmoid, lead to: WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed. Steps to Reproduce: 1) Download test plasmoid: git clone https://github.com/aleixq/testBrowser-plasmoid--toTest org.kde.testBrowser 2) Run plasmoidviewer -a org.kde.testBrowser Actual Results: Plasmoidviewer crashed. Expected Results: Show WebEngineView in plasmoid. Run qmlscene org.kde.testBrowser/contents/ui/main.qml to view the right behavior. It's related to https://bugs.kde.org/show_bug.cgi?id=371023 .
it's probably a local setup problem, a full backtrace would be needed to know where the crash is happening
Created attachment 106061 [details] backtrace I can reproduce running the specified test plasmoid in another pc. I have attached the backtrace. The good news are that this bug is fixed in kde neon with testing repos enabled, which upgrade the qt version to 5.9.
I remember we had to add patches to Konqueror and KDEPIM applications to not crash with QtWebEngine. It is possible that 'plasmoidviewer' needs a similar patch. Relevant part of backtrace from comment #2: Thread 1 (Thread 0x7f2f11ae68c0 (LWP 6677)): [KCrash Handler] #6 0x00007f2f0d0776f0 in QOpenGLContext::shareGroup() const () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #7 0x00007f2f0d077719 in QOpenGLContext::areSharing(QOpenGLContext*, QOpenGLContext*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #8 0x00007f2e59f134e8 in QtWebEngineCore::DelegatedFrameNode::DelegatedFrameNode() (this=0x41bdc40) at /workspace/build/src/core/delegated_frame_node.cpp:427 #9 0x00007f2e59f36145 in QtWebEngineCore::RenderWidgetHostViewQt::updatePaintNode(QSGNode*) (this=0x4201020, oldNode=<optimized out>) at /workspace/build/src/core/render_widget_host_view_qt.cpp:749 #10 0x00007f2f0fb78720 in QQuickWindowPrivate::updateDirtyNode(QQuickItem*) (this=this@entry=0x1354210, item=item@entry=0x4232460) at items/qquickwindow.cpp:3121 #11 0x00007f2f0fb78f8b in QQuickWindowPrivate::updateDirtyNodes() (this=this@entry=0x1354210) at items/qquickwindow.cpp:2866 #12 0x00007f2f0fb7a020 in QQuickWindowPrivate::syncSceneGraph() (this=this@entry=0x1354210) at items/qquickwindow.cpp:419 #13 0x00007f2f0fb46978 in QSGGuiThreadRenderLoop::renderWindow(QQuickWindow*) (this=0x132f200, window=0x1152bb0) at scenegraph/qsgrenderloop.cpp:391 #14 0x00007f2f0fb83f67 in QQuickWindow::event(QEvent*) (this=0x1152bb0, e=0x7ffc76a7b900) at items/qquickwindow.cpp:1527
See e.g. https://cgit.kde.org/konqueror.git/commit/?id=c5b71a8301e615c3e4d7fb023e815b3c8aab1adc
Can you reproduce this in Plasma 5.17 or the upcoming 5.18.0?
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!