Summary: | Plasma Crash When Attempting to Delete Actvity | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | David R. Bergstein <david.r.bergstein> |
Component: | general | Assignee: | David Edmundson <kde> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | null, p.r.worrall, plasma-bugs |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.19.5 | ||
Target Milestone: | 1.0 | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/commit/41de7160674b3c76293209cf34acedd0af8d8dec | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
David R. Bergstein
2020-10-12 13:33:57 UTC
Confirmed on KDE Neon User Edition: Operating System: KDE neon 5.20 KDE Plasma Version: 5.20.3 KDE Frameworks Version: 5.75.0 Qt Version: 5.15.1 Kernel Version: 5.4.0-53-generic OS Type: 64-bit Processors: 2 × AMD A6-6400K APU with Radeon(tm) HD Graphics Memory: 7.7 GiB of RAM Graphics Processor: AMD CEDAR This crash occurs when trying to delete an activity using the trash-can button on the activity switcher. Using System Settings=>Workspace Behaviour=>Activities I can delete activities OK Created attachment 135017 [details]
New crash information added by DrKonqi
plasmashell (5.20.5) using Qt 5.15.2
Confirming the same issue on Arch. Can delete them from system settings as well without crashing, so seems it's only related to the activites UI.
-- Backtrace (Reduced):
#7 0x00007f81b0ac4651 in QQmlData::destroyed(QObject*) () at /usr/lib/libQt5Qml.so.5
#8 0x00007f81af59fc51 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
[...]
#10 0x00007f81af59510e in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#11 0x00007f81af59ff75 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
[...]
#13 0x00007f81af59510e in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/341 Git commit 1be25decb52d5502ff8d922c02a3205ceee1143a by Nicolas Fella, on behalf of Willyanto Willyanto. Committed on 08/02/2021 at 16:05. Pushed by nicolasfella into branch 'master'. Fix crash when deleting activity from activity manager When deleting activity from activity manager, the delete button is destroyed while handling onClicked signal. This happens because ActivitySettings.deleteActivity() is calling QMessageBox::question() that waits for user confirmation. Change deleteActivity call to use QMetaObject with QueuedConnection as the connectivity type. This allows the delete button to be destroyed without having to wait for user confirmation. Related: bug 426926 M +7 -5 kcms/activities/imports/activitysettings.cpp https://invent.kde.org/plasma/plasma-desktop/commit/1be25decb52d5502ff8d922c02a3205ceee1143a Git commit 41de7160674b3c76293209cf34acedd0af8d8dec by Nicolas Fella, on behalf of Willyanto Willyanto. Committed on 08/02/2021 at 16:08. Pushed by nicolasfella into branch 'Plasma/5.21'. Fix crash when deleting activity from activity manager When deleting activity from activity manager, the delete button is destroyed while handling onClicked signal. This happens because ActivitySettings.deleteActivity() is calling QMessageBox::question() that waits for user confirmation. Change deleteActivity call to use QMetaObject with QueuedConnection as the connectivity type. This allows the delete button to be destroyed without having to wait for user confirmation. Related: bug 426926 (cherry picked from commit 1be25decb52d5502ff8d922c02a3205ceee1143a) M +7 -5 kcms/activities/imports/activitysettings.cpp https://invent.kde.org/plasma/plasma-desktop/commit/41de7160674b3c76293209cf34acedd0af8d8dec |