Bug 509289

Summary: Plasma crashes when disabling notifications in the system tray
Product: [Plasma] plasmashell Reporter: Brandon <kde.2v961>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: cwo.kde
Priority: NOR Keywords: drkonqi
Version First Reported In: 6.4.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/247637/events/dbe29e3e4247469884def7c89cce6ad2/
Attachments: New crash information added by DrKonqi

Description Brandon 2025-09-09 03:16:34 UTC
Application: plasmashell (6.4.4)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.2
Frameworks Version: 6.17.0
Operating System: Linux 6.16.5-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.4.4 [CoredumpBackend]

-- Information about the crash:
When editing the entries in the system tray settings I was disabling the notifications on the monitors that I do not want them to be displayed on (I have 3 monitors). When disabling notifications and then clicking OK on the dialog box the dialog box will close and then plasma will crash. 

One other odd behavior I noticed that may or may not be relevant. I have 3 monitors and the monitor I have ordered as the primary monitor is not the monitor that gets the default panel on it, the notifications and the panel stay in my leftmost monitor which is why I was disabling notifications on that monitor.

Steps to reproduce:

1. Click the down arrow to open the system tray on the default panel.
2. Click Entries
3. Scroll to notifications
4. Click the drop-down an select "Disabled"
5. Click OK

Plasma shell will crash immediately after this.
It also crashes if you take the same steps above but in step 4 instead choose "Shown when relevant" if it's disabled.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  0x00007efc68cf94d3 in QQmlContextData::get (context=<optimized out>, context=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlcontextdata_p.h:64
#6  QQuickListViewPrivate::setSectionHelper (context=0x0, sectionItem=0x56523a2752f0, section=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquicklistview.cpp:2028
#7  0x00007efc68d04abe in QQuickListViewPrivate::updateInlineSection (this=0x5652386dd620, listItem=0x56523a258590) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquicklistview_p.h:52
#8  QQuickListViewPrivate::updateSections (this=0x5652386dd620) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquicklistview.cpp:1317
#9  0x00007efc68ceb170 in QQuickItemViewPrivate::applyModelChanges (this=0x5652386dd620, totalInsertionResult=0x7fffc2fb4b90, totalRemovalResult=0x7fffc2fb4b60) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitemview.cpp:2206
#10 QQuickItemViewPrivate::layout (this=0x5652386dd620) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitemview.cpp:1957
#11 0x00007efc68d00aa8 in QQuickItemViewPrivate::refillOrLayout (this=0x5652386dd620) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitemview_p_p.h:213
#12 QQuickListView::viewportMoved (this=0x565234bf2610, orient=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquicklistview.cpp:3493
#13 0x00007efc6897bf84 in QQuickFlickablePrivate::itemGeometryChanged (this=0x5652386dd620, item=0x565234bf26f0, change=..., oldGeom=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickflickable.cpp:319
#14 0x00007efc68ce7b00 in QQuickItemViewPrivate::itemGeometryChanged (this=0x5652386dd620, item=0x565234bf26f0, change=..., oldGeometry=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitemview.cpp:1185
#15 0x00007efc68cfd8ca in QQuickListViewPrivate::itemGeometryChanged (this=0x5652386dd620, item=0x565234bf26f0, change=..., oldGeometry=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquicklistview.cpp:1593
#16 0x00007efc6899ae4a in operator() (listener=..., __closure=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:3904
#18 QQuickItem::geometryChange (this=0x565234bf26f0, newGeometry=..., oldGeometry=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:3902
#19 0x00007efc689ab65e in QQuickItem::setY (this=0x565234bf26f0, v=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:7308
#20 0x00007efc6897ba57 in QQuickFlickablePrivate::setViewportY (this=0x5652386dd620, y=-836.3125) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickflickable.cpp:2017
#21 0x00007efc68bf6e2b in QQuickTimeLinePrivate::advance (this=0x56522fdd4210, t=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/util/qquicktimeline.cpp:797
#5  0x00007efc68cf94d3 in QQmlContextData::get (context=<optimized out>, context=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlcontextdata_p.h:64
#6  QQuickListViewPrivate::setSectionHelper (context=0x0, sectionItem=0x56523a2752f0, section=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquicklistview.cpp:2028
#7  0x00007efc68d04abe in QQuickListViewPrivate::updateInlineSection (this=0x5652386dd620, listItem=0x56523a258590) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquicklistview_p.h:52
#8  QQuickListViewPrivate::updateSections (this=0x5652386dd620) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquicklistview.cpp:1317
#9  0x00007efc68ceb170 in QQuickItemViewPrivate::applyModelChanges (this=0x5652386dd620, totalInsertionResult=0x7fffc2fb4b90, totalRemovalResult=0x7fffc2fb4b60) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitemview.cpp:2206
#10 QQuickItemViewPrivate::layout (this=0x5652386dd620) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitemview.cpp:1957
#11 0x00007efc68d00aa8 in QQuickItemViewPrivate::refillOrLayout (this=0x5652386dd620) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitemview_p_p.h:213
#12 QQuickListView::viewportMoved (this=0x565234bf2610, orient=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquicklistview.cpp:3493
#13 0x00007efc6897bf84 in QQuickFlickablePrivate::itemGeometryChanged (this=0x5652386dd620, item=0x565234bf26f0, change=..., oldGeom=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickflickable.cpp:319
#14 0x00007efc68ce7b00 in QQuickItemViewPrivate::itemGeometryChanged (this=0x5652386dd620, item=0x565234bf26f0, change=..., oldGeometry=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitemview.cpp:1185
#15 0x00007efc68cfd8ca in QQuickListViewPrivate::itemGeometryChanged (this=0x5652386dd620, item=0x565234bf26f0, change=..., oldGeometry=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquicklistview.cpp:1593
#16 0x00007efc6899ae4a in operator() (listener=..., __closure=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:3904
#18 QQuickItem::geometryChange (this=0x565234bf26f0, newGeometry=..., oldGeometry=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:3902
#19 0x00007efc689ab65e in QQuickItem::setY (this=0x565234bf26f0, v=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:7308
#20 0x00007efc6897ba57 in QQuickFlickablePrivate::setViewportY (this=0x5652386dd620, y=-836.3125) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickflickable.cpp:2017
#21 0x00007efc68bf6e2b in QQuickTimeLinePrivate::advance (this=0x56522fdd4210, t=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/util/qquicktimeline.cpp:797


Reported using DrKonqi
Comment 1 Brandon 2025-09-09 03:16:36 UTC
Created attachment 184828 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Brandon 2025-09-09 05:13:51 UTC
I realize I made one minor mistake in my reproduction steps, after step 2 there needs to be an additional step to click on the icon on the top of the panel that opens that says "Configure System Tray..."
Comment 3 cwo 2025-09-09 11:18:09 UTC
Thank you for the bug report! This issue is already being tracked in another report, so I'm merging the two.

*** This bug has been marked as a duplicate of bug 478625 ***