Summary: | Plasma crashed when trying to close clipboard configuration window shortly after disabling clipboard system tray entry | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | jlsantos |
Component: | System Tray widget | Assignee: | Plasma Bugs List <plasma-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | materka, nate |
Priority: | NOR | Keywords: | drkonqi |
Version First Reported In: | 6.2.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/6f339e07658a9bd96699e5ee1d119723dd0bae41 | Version Fixed In: | 6.3.0 |
Sentry Crash Report: | https://crash-reports.kde.org/organizations/kde/issues/111851/events/cbb91b2f5c2e4e2d8c9d3450bf1e387c/ | ||
Attachments: | New crash information added by DrKonqi |
Description
jlsantos
2024-12-27 00:44:29 UTC
Created attachment 176898 [details]
New crash information added by DrKonqi
DrKonqi auto-attaching complete backtrace.
Can confirm. We should fix this, but until then, I think it's a case of "then don't do that" :) Probably disabling a widget in the system tray should automatically close its configuration window, if it was open. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5051 Git commit e8c1aa06abf81ed8d15aec37c0ab122b8d4915a3 by Marco Martin. Committed on 10/01/2025 at 13:27. Pushed by mart into branch 'master'. applets/clipboard: close config window if actioncollection gets deleted When the clipbopard applet gets removed, the actioncollection that was used to create the config dialog gets deleted and the state of the dialog is not valid anymore, as there is nothing to configure anymore pressing ok will access the action collection and crash Close the dialog immediately when the applet and the action collection is deleted M +2 -1 klipper/configdialog.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/e8c1aa06abf81ed8d15aec37c0ab122b8d4915a3 Git commit 6f339e07658a9bd96699e5ee1d119723dd0bae41 by Marco Martin. Committed on 13/01/2025 at 09:08. Pushed by mart into branch 'Plasma/6.3'. applets/clipboard: close config window if actioncollection gets deleted When the clipbopard applet gets removed, the actioncollection that was used to create the config dialog gets deleted and the state of the dialog is not valid anymore, as there is nothing to configure anymore pressing ok will access the action collection and crash Close the dialog immediately when the applet and the action collection is deleted (cherry picked from commit e8c1aa06abf81ed8d15aec37c0ab122b8d4915a3) e8c1aa06 applets/clipboard: close config window if actioncollection gets deleted Co-authored-by: Marco Martin <notmart@gmail.com> M +2 -1 klipper/configdialog.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/6f339e07658a9bd96699e5ee1d119723dd0bae41 |