Bug 278947 - Can not add more then one systemtray
Summary: Can not add more then one systemtray
Status: RESOLVED DUPLICATE of bug 277367
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-systemtray (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression, reproducible, usability
Depends on:
Blocks:
 
Reported: 2011-07-31 16:21 UTC by incarus6
Modified: 2011-08-05 15:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description incarus6 2011-07-31 16:21:03 UTC
Version:           unspecified (using KDE 4.7.0) 
OS:                Linux

When I try to add a second systemtray to any panel plasma is crashing without a crash-dialog. Also the function to add a new "standard panel" is useless due to this if a panel with the systemtray widget already exist.

That function is especially necessary when using Dual screen (with two standard-panels)

Reproducible: Always

Steps to Reproduce:
Add a second systemtray to any penal.

Actual Results:  
Plasma and software is crashing without any warning or crash dialog

Expected Results:  
An independent second systemtray should work fine
Comment 1 incarus6 2011-08-01 08:29:52 UTC
Application: Plasma-Desktop-Umgebung (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0xb1001720 (LWP 2441))]

Thread 3 (Thread 0xaa135b70 (LWP 2469)):
#0  0xb771a65b in pthread_mutex_unlock (mutex=0x9a5c1fc) at forward.c:184
#1  0xb36d4ff9 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb36d5524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb6727577 in QEventDispatcherGlib::processEvents (this=0x9a5be18, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0xb66f9289 in QEventLoop::processEvents (this=0xaa135280, flags=...) at kernel/qeventloop.cpp:149
#5  0xb66f9522 in QEventLoop::exec (this=0xaa135280, flags=...) at kernel/qeventloop.cpp:201
#6  0xb66032a0 in QThread::exec (this=0x9a5aa40) at thread/qthread.cpp:492
#7  0xb66dafdb in QInotifyFileSystemWatcherEngine::run (this=0x9a5aa40) at io/qfilesystemwatcher_inotify.cpp:248
#8  0xb6605da2 in QThreadPrivate::start (arg=0x9a5aa40) at thread/qthread_unix.cpp:320
#9  0xb37c1e99 in start_thread (arg=0xaa135b70) at pthread_create.c:304
#10 0xb770c73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa8797b70 (LWP 2487)):
#0  0xb7830832 in ?? () from /lib/ld-linux.so.2
#1  0xb76fdf76 in __poll (fds=0x9ac1560, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb36e584b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb36d51af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb36d5524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb6727577 in QEventDispatcherGlib::processEvents (this=0x9abe3b8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb66f9289 in QEventLoop::processEvents (this=0xa8797280, flags=...) at kernel/qeventloop.cpp:149
#7  0xb66f9522 in QEventLoop::exec (this=0xa8797280, flags=...) at kernel/qeventloop.cpp:201
#8  0xb66032a0 in QThread::exec (this=0x9abf600) at thread/qthread.cpp:492
#9  0xb66dafdb in QInotifyFileSystemWatcherEngine::run (this=0x9abf600) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb6605da2 in QThreadPrivate::start (arg=0x9abf600) at thread/qthread_unix.cpp:320
#11 0xb37c1e99 in start_thread (arg=0xa8797b70) at pthread_create.c:304
#12 0xb770c73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb1001720 (LWP 2441)):
[KCrash Handler]
#7  QGraphicsLayoutItemPrivate::hasHeightForWidth (this=0x41746c75) at graphicsview/qgraphicslayoutitem.cpp:280
#8  0xb62f54b8 in QGridLayoutItem::hasDynamicConstraint (this=0xaa97518) at graphicsview/qgridlayoutengine.cpp:576
#9  0xb62f659e in QGridLayoutEngine::ensureDynamicConstraint (this=0xa5da090) at graphicsview/qgridlayoutengine.cpp:1657
#10 0xb62f6642 in QGridLayoutEngine::hasDynamicConstraint (this=0xa5da090) at graphicsview/qgridlayoutengine.cpp:1677
#11 0xb62fa2d8 in QGridLayoutEngine::sizeHint (this=0xa5da090, styleInfo=..., which=Qt::MaximumSize, constraint=...) at graphicsview/qgridlayoutengine.cpp:1134
#12 0xb627ff3e in QGraphicsGridLayout::sizeHint (this=0xac79e50, which=Qt::MaximumSize, constraint=...) at graphicsview/qgraphicsgridlayout.cpp:656
#13 0xb62abc9a in QGraphicsLayoutItemPrivate::effectiveSizeHints (this=0xa5d9fa0, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:169
#14 0xb62ac634 in QGraphicsLayoutItem::effectiveSizeHint (this=0xac79e50, which=Qt::MinimumSize, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:818
#15 0xb62ec23f in QGraphicsWidget::sizeHint (this=0xacac0e0, which=Qt::MinimumSize, constraint=...) at graphicsview/qgraphicswidget.cpp:729
#16 0xb62abd5e in QGraphicsLayoutItemPrivate::effectiveSizeHints (this=0x93114b0, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:175
#17 0xb62ac634 in QGraphicsLayoutItem::effectiveSizeHint (this=0xacac0f0, which=Qt::PreferredSize, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:818
#18 0xaf768ebc in SystemTray::TaskArea::adjustHiddentTasksWidget (this=0xaa4fb48) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:429
#19 0xaf76b121 in SystemTray::TaskArea::addWidgetForTask (this=0xaa4fb48, task=0x930b078) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:309
#20 0xaf76b6be in SystemTray::TaskArea::addTask (this=0xaa4fb48, task=0x930b078) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:189
#21 0xaf76b7df in SystemTray::TaskArea::qt_metacall (this=0xaa4fb48, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf989f98) at ./taskarea.moc:89
#22 0xb67006ba in QMetaObject::metacall (object=0xaa4fb48, cl=QMetaObject::InvokeMetaMethod, idx=22, argv=0xbf989f98) at kernel/qmetaobject.cpp:237
#23 0xb67104ff in QMetaObject::activate (sender=0x9919af0, m=0xaf772028, local_signal_index=0, argv=0xbf989f98) at kernel/qobject.cpp:3287
#24 0xaf74bcb3 in SystemTray::Manager::taskAdded (this=0x9919af0, _t1=0x930b078) at ./manager.moc:99
#25 0xaf74bebf in SystemTray::Manager::addTask (this=0x9919af0, task=0x930b078) at ../../../../../plasma/generic/applets/systemtray/core/manager.cpp:87
#26 0xaf74c0af in SystemTray::Manager::qt_metacall (this=0x9919af0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf98a128) at ./manager.moc:86
#27 0xb67006ba in QMetaObject::metacall (object=0x9919af0, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0xbf98a128) at kernel/qmetaobject.cpp:237
#28 0xb67104ff in QMetaObject::activate (sender=0xad39790, m=0xaf772084, local_signal_index=0, argv=0xbf98a128) at kernel/qobject.cpp:3287
#29 0xaf74c833 in SystemTray::Protocol::taskCreated (this=0xad39790, _t1=0x930b078) at ./protocol.moc:91
#30 0xaf75477b in SystemTray::PlasmoidProtocol::addApplet (this=0xad39790, appletName=..., id=0, parent=0xad58558) at ../../../../../plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtaskprotocol.cpp:112
#31 0xaf74ba57 in SystemTray::Manager::addApplet (this=0x9919af0, appletName=..., parent=0xad58558) at ../../../../../plasma/generic/applets/systemtray/core/manager.cpp:110
#32 0xaf75f65f in SystemTray::Applet::checkDefaultApplets (this=0xad58558) at ../../../../../plasma/generic/applets/systemtray/ui/applet.cpp:755
#33 0xaf760693 in SystemTray::Applet::qt_metacall (this=0xad58558, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x97100c0) at ./applet.moc:91
#34 0xb67006ba in QMetaObject::metacall (object=0xad58558, cl=QMetaObject::InvokeMetaMethod, idx=82, argv=0x97100c0) at kernel/qmetaobject.cpp:237
#35 0xb670ae16 in QMetaCallEvent::placeMetaCall (this=0xac8ed78, object=0xad58558) at kernel/qobject.cpp:535
#36 0xb670f3b7 in QObject::event (this=0xad58558, e=0xac8ed78) at kernel/qobject.cpp:1226
#37 0xb62eca14 in QGraphicsWidget::event (this=0xad58558, event=0xac8ed78) at graphicsview/qgraphicswidget.cpp:1423
#38 0xb5c52d24 in QApplicationPrivate::notify_helper (this=0x91c6b18, receiver=0xad58558, e=0xac8ed78) at kernel/qapplication.cpp:4462
#39 0xb5c578ce in QApplication::notify (this=0x919c7d8, receiver=0xad58558, e=0xac8ed78) at kernel/qapplication.cpp:3862
#40 0xb6cf693a in KApplication::notify (this=0x919c7d8, receiver=0xad58558, event=0xac8ed78) at ../../kdeui/kernel/kapplication.cpp:311
#41 0xb66fa0bb in QCoreApplication::notifyInternal (this=0x919c7d8, receiver=0xad58558, event=0xac8ed78) at kernel/qcoreapplication.cpp:731
#42 0xb66fdc79 in sendEvent (receiver=0x0, event_type=0, data=0x910af20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x910af20) at kernel/qcoreapplication.cpp:1372
#44 0xb66fde0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#45 0xb67273c4 in sendPostedEvents (s=0x91bb4b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#46 postEventSourceDispatch (s=0x91bb4b0) at kernel/qeventdispatcher_glib.cpp:277
#47 0xb36d4aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#48 0xb36d5270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#49 0xb36d5524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#50 0xb672753c in QEventDispatcherGlib::processEvents (this=0x910aa78, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#51 0xb5d091e5 in QGuiEventDispatcherGlib::processEvents (this=0x910aa78, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#52 0xb66f9289 in QEventLoop::processEvents (this=0xbf98ab34, flags=...) at kernel/qeventloop.cpp:149
#53 0xb66f9522 in QEventLoop::exec (this=0xbf98ab34, flags=...) at kernel/qeventloop.cpp:201
#54 0xb66fdecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#55 0xb5c508e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#56 0xb77f1fdb in kdemain (argc=1, argv=0xbf98ad54) at ../../../../plasma/desktop/shell/main.cpp:120
#57 0x080485bb in main (argc=1, argv=0xbf98ad54) at plasma-desktop_dummy.cpp:3
Comment 2 Christoph Feck 2011-08-05 15:04:54 UTC

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