| Summary: | ConfigOverlay.qml:288: TypeError: Cannot read property 'applet' of null when adding a widget | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Jakub <jjaruszewski> |
| Component: | Panel | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | niccolo.venerandi, niccolo |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | 6.0.2 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/-/commit/d2cf450f8f3c372da4993d3a18634a0b4ee02bf7 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Jakub
2024-03-14 19:00:05 UTC
This is line 289 in current master, which is exactly: https://invent.kde.org/plasma/plasma-desktop/-/blob/84900edcea17bb2070606f3a1520f57aff1d1476/containments/panel/contents/ui/ConfigOverlay.qml#L289 I believe the solution would be the same as in: https://invent.kde.org/plasma/plasma-desktop/-/blob/84900edcea17bb2070606f3a1520f57aff1d1476/containments/panel/contents/ui/ConfigOverlay.qml#L310 I'll do a MR with your suggestion as that should certainly hide the error, but it really shouldn't be crashing! (In reply to Niccolò Venerandi from comment #2) > I'll do a MR with your suggestion as that should certainly hide the error, > but it really shouldn't be crashing! I did some investigating and you're right, this error is not the reason of the crash! Actually plasma segfaults in libfreetype.so.6.20.1 when adding a plasmoid using custom font (and bug appears in "Plasma 6 clocks" since they often use custom fonts). I will create a separate bug report for that and link it here Filed a related bug report at: https://bugs.kde.org/show_bug.cgi?id=483932 A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2135 Git commit 8fd109b565f7f8a0b1774fc0dc07645dc22732c7 by Niccolò Venerandi. Committed on 22/03/2024 at 07:14. Pushed by niccolove into branch 'master'. Check for applet in ConfigOverlay to avoid startup error messages M +1 -1 containments/panel/contents/ui/ConfigOverlay.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/8fd109b565f7f8a0b1774fc0dc07645dc22732c7 Git commit d2cf450f8f3c372da4993d3a18634a0b4ee02bf7 by ivan tkachenko. Committed on 19/04/2024 at 19:56. Pushed by ratijas into branch 'master'. Check for applet AND provide a fallback in ConfigOverlay to avoid startup error messages Amends 8fd109b565f7f8a0b1774fc0dc07645dc22732c7 M +1 -1 containments/panel/contents/ui/ConfigOverlay.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/d2cf450f8f3c372da4993d3a18634a0b4ee02bf7 |