Latte Dock crashes when external screen is set as primary
When I login with my laptop connected to an external screen that is set as primary, latte dock crashes. The crash message is displayed as soon as the desktop becomes visible.
Here are the contents that the KDE crash handler has given me:
Application: latte-dock (0.9.11)
Qt Version: 5.14.2
Frameworks Version: 5.71.0
Operating System: Linux 5.3.0-61-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.19
-- Information about the crash:
- What I was doing when the application crashed:
When I login with my laptop connected to an external screen, and this screen is set as primary, latte dock crashes.
- Custom settings of the application:
External screen set as primary.
The crash can be reproduced every time.
-- Backtrace:
Application: Latte Dock (latte-dock), signal: Segmentation fault
[KCrash Handler]
#4 PlasmaQuick::ContainmentView::containment (this=0x6d6e6961746e6f43) at ./src/plasmaquick/containmentview.cpp:261
#5 0x000055f9c81023cf in Latte::Layout::GenericLayout::addView (this=this@entry=0x55f9ca60d0d0, containment=containment@entry=0x55f9cc021710, forceOnPrimary=forceOnPrimary@entry=false, explicitScreen=explicitScreen@entry=-1, occupied=<optimized out>) at ./app/layout/genericlayout.cpp:860
#6 0x000055f9c80f8b83 in Latte::CentralLayout::addView (this=0x55f9ca60d0d0, containment=0x55f9cc021710, forceOnPrimary=false, explicitScreen=-1, occupied=<optimized out>) at ./app/layout/centrallayout.cpp:272
#7 0x000055f9c80ffa81 in Latte::Layout::GenericLayout::addContainment (this=0x55f9ca60d0d0, containment=<optimized out>) at ./app/layout/genericlayout.cpp:665
#8 0x00007f4a3d3856d7 in QtPrivate::QSlotObjectBase::call (a=0x7ffc2b01e290, r=0x55f9ca60d0d0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#9 doActivate<false> (sender=0x7ffc2b01f0c0, signal_index=3, argv=0x7ffc2b01e290) at kernel/qobject.cpp:3870
#10 0x00007f4a3d37ff92 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f4a41ea20c0 <Plasma::Corona::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc2b01e290) at kernel/qobject.cpp:3930
#11 0x00007f4a41c2446f in Plasma::Corona::containmentAdded (this=<optimized out>, _t1=<optimized out>, _t1@entry=0x55f9cc021710) at ./obj-x86_64-linux-gnu/src/plasma/KF5Plasma_autogen/include/moc_corona.cpp:439
#12 0x00007f4a41c26fba in Plasma::CoronaPrivate::addContainment (this=this@entry=0x55f9ca4af020, name=..., args=..., id=id@entry=13, lastScreen=lastScreen@entry=-1, delayedInit=delayedInit@entry=false) at ./src/plasma/corona.cpp:638
#13 0x00007f4a41c2792f in Plasma::CoronaPrivate::importLayout (this=0x55f9ca4af020, conf=..., mergeConfig=mergeConfig@entry=false) at ./src/plasma/corona.cpp:691
#14 0x00007f4a41c280f1 in Plasma::Corona::loadLayout (this=0x7ffc2b01f0c0, configName=...) at ./src/plasma/corona.cpp:179
#15 0x000055f9c811df9b in Latte::Layouts::Manager::loadLatteLayout (this=0x55f9ca50fbe0, layoutPath=...) at ./app/layouts/manager.cpp:275
#16 0x000055f9c8127089 in Latte::Layouts::Synchronizer::<lambda()>::operator()(void) const (__closure=0x55f9ca658560) at ./app/layouts/synchronizer.cpp:726
#17 0x00007f4a3d389344 in QtPrivate::QSlotObjectBase::call (a=0x7ffc2b01e810, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#18 QSingleShotTimer::timerEvent (this=0x55f9ca5d2a90) at kernel/qtimer.cpp:320
#19 0x00007f4a3d37d4e3 in QObject::event (this=0x55f9ca5d2a90, e=0x7ffc2b01eb40) at kernel/qobject.cpp:1361
#20 0x00007f4a3f2e19ac in QApplicationPrivate::notify_helper (this=this@entry=0x55f9ca1aa9f0, receiver=receiver@entry=0x55f9ca5d2a90, e=e@entry=0x7ffc2b01eb40) at kernel/qapplication.cpp:3685
#21 0x00007f4a3f2e8bb0 in QApplication::notify (this=0x7ffc2b01f090, receiver=0x55f9ca5d2a90, e=0x7ffc2b01eb40) at kernel/qapplication.cpp:3431
#22 0x00007f4a3d34a4a8 in QCoreApplication::notifyInternal2 (receiver=0x55f9ca5d2a90, event=0x7ffc2b01eb40) at kernel/qcoreapplication.cpp:1075
#23 0x00007f4a3d3a8c39 in QTimerInfoList::activateTimers (this=0x55f9ca20c6d0) at kernel/qtimerinfo_unix.cpp:643
#24 0x00007f4a3d3a9401 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#25 0x00007f4a35c1e417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f4a35c1e650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f4a35c1e6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f4a3d3a97ac in QEventDispatcherGlib::processEvents (this=0x55f9ca20ca40, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007f4a3d348d2a in QEventLoop::exec (this=this@entry=0x7ffc2b01ed90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#30 0x00007f4a3d3524a0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1383
#31 0x000055f9c80dbd1c in main (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:285
Report to https://bugs.kde.org/