Bug 367810 - crash silently when using drag and drop to add a widget
Summary: crash silently when using drag and drop to add a widget
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Widget Explorer sidebar (other bugs)
Version First Reported In: 5.7.3
Platform: Chakra Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-08-25 17:32 UTC by Gioele
Modified: 2018-11-01 18:48 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Output of plasmashell run with gdb (31.30 KB, text/plain)
2016-08-27 09:09 UTC, Neofytos Kolokotronis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gioele 2016-08-25 17:32:44 UTC
Every time, adding a widget from widget explorer using drag and drop do nothing, both if target is the desktop or a panel. Plasmashell silently crashes with "No such method ContainmentInterface::createApplet(QString,QVariantList,QRect)".

Reproducible: Always

Steps to Reproduce:
1. Open widget explorer bar
2. Drag any widget from widget explorer to the desktop (or to any panel)
3. Release the widget

Actual Results:  
Nothing, the widget is not added. Crash silently.

Expected Results:  
The widget should be added to the desktop or to the target panel.

Adding widgets with double click still works.

This is the full stack trace generated at every widget drop, collected with KSystemLog filtering on "plasmashell":

23/08/16 08:50	plasmashell	TODO: port listCategories()
23/08/16 08:51	plasmashell	QQmlComponent: Component is not ready
23/08/16 08:51	plasmashell	file:///usr/lib/qt5/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml:153:31: QML Item: Binding loop detected for property "implicitWidth"
23/08/16 08:51	plasmashell	file:///usr/lib/qt5/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml:153:31: QML Item: Binding loop detected for property "implicitWidth"
23/08/16 08:51	plasmashell	file:///usr/lib/qt5/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml:153:31: QML Item: Binding loop detected for property "implicitWidth"
23/08/16 08:51	plasmashell	TODO: port listCategories()
23/08/16 08:51	plasmashell	QPainter::begin: Paint device returned engine == 0, type: 2
23/08/16 08:51	plasmashell	QPainter::save: Painter not active
23/08/16 08:51	plasmashell	QPainter::translate: Painter not active
23/08/16 08:51	plasmashell	QPainter::scale: Painter not active
23/08/16 08:51	plasmashell	QPainter::worldTransform: Painter not active
23/08/16 08:51	plasmashell	QPainter::setPen: Painter not active
23/08/16 08:51	plasmashell	QPainter::setBrush: Painter not active
23/08/16 08:51	plasmashell	QPainter::setRenderHint: Painter must be active to set rendering hints
23/08/16 08:51	plasmashell	QPainter::setRenderHint: Painter must be active to set rendering hints
23/08/16 08:51	plasmashell	QPainter::worldTransform: Painter not active
23/08/16 08:51	plasmashell	QPainter::setWorldTransform: Painter not active
23/08/16 08:51	plasmashell	QPainter::worldTransform: Painter not active
23/08/16 08:51	plasmashell	QPainter::setWorldTransform: Painter not active
23/08/16 08:51	plasmashell	QPainter::worldTransform: Painter not active
23/08/16 08:51	plasmashell	QPainter::setWorldTransform: Painter not active
23/08/16 08:51	plasmashell	QPainter::brush: Painter not active
23/08/16 08:51	plasmashell	QPainter::setBrush: Painter not active
23/08/16 08:51	plasmashell	QPainter::pen: Painter not active
23/08/16 08:51	plasmashell	QPainter::pen: Painter not active
23/08/16 08:51	plasmashell	QPainter::setPen: Painter not active
23/08/16 08:51	plasmashell	QPainter::opacity: Painter not active
23/08/16 08:51	plasmashell	QPainter::brush: Painter not active
23/08/16 08:51	plasmashell	QPainter::pen: Painter not active
23/08/16 08:51	plasmashell	QPainter::setPen: Painter not active
23/08/16 08:51	plasmashell	QPainter::setOpacity: Painter not active
23/08/16 08:51	plasmashell	QPainter::drawPath: Painter not active
23/08/16 08:51	plasmashell	QPainter::setPen: Painter not active
23/08/16 08:51	plasmashell	QPainter::setOpacity: Painter not active
23/08/16 08:51	plasmashell	QPainter::setBrush: Painter not active
23/08/16 08:51	plasmashell	QPainter::drawPath: Painter not active
23/08/16 08:51	plasmashell	QPainter::setBrush: Painter not active
23/08/16 08:51	plasmashell	QPainter::setOpacity: Painter not active
23/08/16 08:51	plasmashell	QPainter::setBrush: Painter not active
23/08/16 08:51	plasmashell	QPainter::setPen: Painter not active
23/08/16 08:51	plasmashell	QPainter::brush: Painter not active
23/08/16 08:51	plasmashell	QPainter::setBrush: Painter not active
23/08/16 08:51	plasmashell	QPainter::pen: Painter not active
23/08/16 08:51	plasmashell	QPainter::pen: Painter not active
23/08/16 08:51	plasmashell	QPainter::setPen: Painter not active
23/08/16 08:51	plasmashell	QPainter::opacity: Painter not active
23/08/16 08:51	plasmashell	QPainter::brush: Painter not active
23/08/16 08:51	plasmashell	QPainter::pen: Painter not active
23/08/16 08:51	plasmashell	QPainter::setPen: Painter not active
23/08/16 08:51	plasmashell	QPainter::setOpacity: Painter not active
23/08/16 08:51	plasmashell	QPainter::drawPath: Painter not active
23/08/16 08:51	plasmashell	QPainter::setPen: Painter not active
23/08/16 08:51	plasmashell	QPainter::setOpacity: Painter not active
23/08/16 08:51	plasmashell	QPainter::setBrush: Painter not active
23/08/16 08:51	plasmashell	QPainter::drawPath: Painter not active
23/08/16 08:51	plasmashell	QPainter::setBrush: Painter not active
23/08/16 08:51	plasmashell	QPainter::setOpacity: Painter not active
23/08/16 08:51	plasmashell	QPainter::setBrush: Painter not active
23/08/16 08:51	plasmashell	QPainter::setPen: Painter not active
23/08/16 08:51	plasmashell	QPainter::setWorldTransform: Painter not active
23/08/16 08:51	plasmashell	QPainter::setWorldTransform: Painter not active
23/08/16 08:51	plasmashell	QPainter::setWorldTransform: Painter not active
23/08/16 08:51	plasmashell	QPainter::restore: Unbalanced save/restore
23/08/16 08:51	plasmashell	QPainter::end: Painter not active, aborted
23/08/16 08:51	plasmashell	QPainter::begin: Paint device returned engine == 0, type: 2
23/08/16 08:51	plasmashell	QPainter::save: Painter not active
23/08/16 08:51	plasmashell	QPainter::translate: Painter not active
23/08/16 08:51	plasmashell	QPainter::scale: Painter not active
23/08/16 08:51	plasmashell	QPainter::worldTransform: Painter not active
23/08/16 08:51	plasmashell	QPainter::setPen: Painter not active
23/08/16 08:51	plasmashell	QPainter::setBrush: Painter not active
23/08/16 08:51	plasmashell	QPainter::setRenderHint: Painter must be active to set rendering hints
23/08/16 08:51	plasmashell	QPainter::setRenderHint: Painter must be active to set rendering hints
23/08/16 08:51	plasmashell	QPainter::worldTransform: Painter not active
23/08/16 08:51	plasmashell	QPainter::setWorldTransform: Painter not active
23/08/16 08:51	plasmashell	QPainter::worldTransform: Painter not active
23/08/16 08:51	plasmashell	QPainter::setWorldTransform: Painter not active
23/08/16 08:51	plasmashell	QPainter::worldTransform: Painter not active
23/08/16 08:51	plasmashell	QPainter::setWorldTransform: Painter not active
23/08/16 08:51	plasmashell	QPainter::brush: Painter not active
23/08/16 08:51	plasmashell	QPainter::setBrush: Painter not active
23/08/16 08:51	plasmashell	QPainter::pen: Painter not active
23/08/16 08:51	plasmashell	QPainter::pen: Painter not active
23/08/16 08:51	plasmashell	QPainter::setPen: Painter not active
23/08/16 08:51	plasmashell	QPainter::opacity: Painter not active
23/08/16 08:51	plasmashell	QPainter::brush: Painter not active
23/08/16 08:51	plasmashell	QPainter::pen: Painter not active
23/08/16 08:51	plasmashell	QPainter::setPen: Painter not active
23/08/16 08:51	plasmashell	QPainter::setOpacity: Painter not active
23/08/16 08:51	plasmashell	QPainter::drawPath: Painter not active
23/08/16 08:51	plasmashell	QPainter::setPen: Painter not active
23/08/16 08:51	plasmashell	QPainter::setOpacity: Painter not active
23/08/16 08:51	plasmashell	QPainter::setBrush: Painter not active
23/08/16 08:51	plasmashell	QPainter::drawPath: Painter not active
23/08/16 08:51	plasmashell	QPainter::setBrush: Painter not active
23/08/16 08:51	plasmashell	QPainter::setOpacity: Painter not active
23/08/16 08:51	plasmashell	QPainter::setBrush: Painter not active
23/08/16 08:51	plasmashell	QPainter::setPen: Painter not active
23/08/16 08:51	plasmashell	QPainter::brush: Painter not active
23/08/16 08:51	plasmashell	QPainter::setBrush: Painter not active
23/08/16 08:51	plasmashell	QPainter::pen: Painter not active
23/08/16 08:51	plasmashell	QPainter::pen: Painter not active
23/08/16 08:51	plasmashell	QPainter::setPen: Painter not active
23/08/16 08:51	plasmashell	QPainter::opacity: Painter not active
23/08/16 08:51	plasmashell	QPainter::brush: Painter not active
23/08/16 08:51	plasmashell	QPainter::pen: Painter not active
23/08/16 08:51	plasmashell	QPainter::setPen: Painter not active
23/08/16 08:51	plasmashell	QPainter::setOpacity: Painter not active
23/08/16 08:51	plasmashell	QPainter::drawPath: Painter not active
23/08/16 08:51	plasmashell	QPainter::setPen: Painter not active
23/08/16 08:51	plasmashell	QPainter::setOpacity: Painter not active
23/08/16 08:51	plasmashell	QPainter::setBrush: Painter not active
23/08/16 08:51	plasmashell	QPainter::drawPath: Painter not active
23/08/16 08:51	plasmashell	QPainter::setBrush: Painter not active
23/08/16 08:51	plasmashell	QPainter::setOpacity: Painter not active
23/08/16 08:51	plasmashell	QPainter::setBrush: Painter not active
23/08/16 08:51	plasmashell	QPainter::setPen: Painter not active
23/08/16 08:51	plasmashell	QPainter::setWorldTransform: Painter not active
23/08/16 08:51	plasmashell	QPainter::setWorldTransform: Painter not active
23/08/16 08:51	plasmashell	QPainter::setWorldTransform: Painter not active
23/08/16 08:51	plasmashell	QPainter::restore: Unbalanced save/restore
23/08/16 08:51	plasmashell	QPainter::end: Painter not active, aborted
23/08/16 08:51	plasmashell	Arrived mimeData () ("text/x-plasmoidservicename") at 502 ,  22
23/08/16 08:51	plasmashell	adding "org.kde.plasma.icontasks"
23/08/16 08:51	plasmashell	QMetaObject::invokeMethod: No such method ContainmentInterface::createApplet(QString,QVariantList,QRect)
Candidates are:
    createApplet(QString,QVariantList,QRectF)
23/08/16 08:51	plasmashell	QQuickItem::ungrabMouse(): Item is not the mouse grabber.

Link to my previous report on Chakra forum: https://chakralinux.org/forum/viewtopic.php?id=15042
Comment 1 Marco Martin 2016-08-26 11:22:24 UTC
looks like master and 5.7 branch packages mixed randomly..

if no drkonqui gets opened, can you execute plasmashell in gdb? can't know anything without a complete backtrace
Comment 2 Neofytos Kolokotronis 2016-08-27 09:04:44 UTC
Fwiw, I can replicate the issue with adding the widgets in Chakra running Plasma 5.7.4 and Frameworks 5.25. There is no plasma crash, just the warning in the logs.  

Nothing happens when dragging the widget on either the desktop or a panel. I can only double click to add a widget.

I killed plasmashell and ran it again through gdb, I have attached the output. My attempts at adding widgets start after line 400.
Comment 3 Neofytos Kolokotronis 2016-08-27 09:09:57 UTC
Created attachment 100798 [details]
Output of plasmashell run with gdb
Comment 4 Gioele 2016-08-27 09:36:23 UTC
Many thanks tetris4, you've been faster than me.
I've used the word "crash" improperly, sorry
Comment 5 Andrew Crouthamel 2018-09-26 22:07:10 UTC
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 set the bug status 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!
Comment 6 Neofytos Kolokotronis 2018-09-30 14:58:30 UTC
Changing the status to REPORTED as I've already provided the info that was requested.
Comment 7 David Edmundson 2018-10-01 22:52:26 UTC
In 2016? Is it still an issue?
Comment 8 Andrew Crouthamel 2018-11-01 18:48:01 UTC
Dear Bug Submitter,

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!