Summary: | plasmashell crash by wallpaper? | ||
---|---|---|---|
Product: | [Plasma] Plasma Workspace Wallpapers | Reporter: | rооt <cerebellum> |
Component: | general | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | cerebellum, pejakm |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kdeplasma-addons/bd07284ec84af57cefd0c91339656f0bda79e466 | Version Fixed In: | |
Sentry Crash Report: |
Description
rооt
2017-04-09 15:31:26 UTC
I can confirm this, I get a crash when using Bing POTD. When starting plasmashell from terminal I see this: `file:///usr/share/plasma/wallpapers/org.kde.potd/contents/ui/main.qml:46: TypeError: Cannot read property 'Image' of undefined` I've noticed that `kdeplasma-addons-5.9.4/dataengines/potd/bingprovider.cpp` perhaps has wrong includes: > #include <QRegExp> > #include <QImage> > #include <QJsonDocument> > #include <QJsonArray> I've changed this to > #include <QtCore/QRegExp> > #include <QtGui/QImage> > #include <QtCore/QJsonDocument> > #include <QtCore/QJsonArray> but it still crashes. Git commit bd07284ec84af57cefd0c91339656f0bda79e466 by David Rosca. Committed on 16/04/2017 at 15:51. Pushed by drosca into branch 'master'. Fix crash in JSON traversal in Bing potd provider QJsonArray::operator[] returns QJsonValueRef which seems to crash when trying to convert to object. Using QJsonArray::at() instead which returns QJsonValue fixes the crash. Differential Revision: https://phabricator.kde.org/D5478 M +1 -1 dataengines/potd/bingprovider.cpp https://commits.kde.org/kdeplasma-addons/bd07284ec84af57cefd0c91339656f0bda79e466 |