Status of multi-monitor support

Guillaume Pothier gpothier at gmail.com
Wed Oct 15 18:15:27 CEST 2008


Right, I have more information now, but I need some help. The problem
that manifests in the screenshot I sent earlier is that one
DesktopView occupies the whole display (ie both screens) instead of
just one screen. Something causes it to resize to 3600x1200, which is
my whole desktop's geometry.
However I don't understant why this happens. Below is a backtrace of
the resize event. Items #17-#19 are the interesting ones I think:
QAbstractScrollAreaPrivate::layoutChildren resizes the viewport to
3600x1200. This does not occur in the control flow of
DesktopView::adjustSize. Being a Qt newbie, I don't understand what
could cause this. Any hint?
By the way, is there a clean way to obtain a backtrace? I had to force
a crash to get that one...

#6  DesktopView::resizeEvent (this=0x85580d0, event=0xbfe02924) at
/home/gpothier/devel/kdesvn/kdebase/workspace/plasma/shells/desktop/desktopview.cpp:527
#7  0xb61a94bb in QWidget::event (this=0x85580d0, event=0xbfe02924) at
/home/gpothier/devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:7309
#8  0xb6491323 in QFrame::event (this=0x85580d0, e=0xbfe02924) at
/home/gpothier/devel/kdesvn/qt-copy/src/gui/widgets/qframe.cpp:651
#9  0xb651579f in QAbstractScrollArea::viewportEvent (this=0x85580d0,
e=0x0) at /home/gpothier/devel/kdesvn/qt-copy/src/gui/widgets/qabstractscrollarea.cpp:943
#10 0xb667508f in QGraphicsView::viewportEvent (this=0x85580d0,
event=0xbfe02924) at
/home/gpothier/devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsview.cpp:2337
#11 0xb65169a5 in QAbstractScrollAreaFilter::eventFilter
(this=0x84fd528, o=0x8548ee8, e=0xbfe02924) at
/home/gpothier/devel/kdesvn/qt-copy/src/gui/widgets/qabstractscrollarea_p.h:96
#12 0xb690b8c1 in
QCoreApplicationPrivate::sendThroughObjectEventFilters
(this=0x8080958, receiver=0x8548ee8, event=0xbfe02924)
    at /home/gpothier/devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:694
#13 0xb61584a3 in QApplicationPrivate::notify_helper (this=0x8080958,
receiver=0x8548ee8, e=0xbfe02924) at
/home/gpothier/devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3799
#14 0xb615f648 in QApplication::notify (this=0x8062fd8,
receiver=0x8548ee8, e=0xbfe02924) at
/home/gpothier/devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3768
#15 0xb70463bd in KApplication::notify (this=0x8062fd8,
receiver=0x8548ee8, event=0xbfe02924) at
/home/gpothier/devel/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:307
#16 0xb690b2b9 in QCoreApplication::notifyInternal (this=0x8062fd8,
receiver=0x8548ee8, event=0xbfe02924) at
/home/gpothier/devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#17 0xb61d4a35 in QWidgetPrivate::setGeometry_sys (this=0x84fd658,
x=0, y=0, w=3600, h=1200, isMove=true) at
../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:209
#18 0xb61a205f in QWidget::setGeometry (this=0x8548ee8, r=@0xbfe02b50)
at /home/gpothier/devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:5866
#19 0xb6514508 in QAbstractScrollAreaPrivate::layoutChildren
(this=0x84f9198) at
/home/gpothier/devel/kdesvn/qt-copy/src/gui/widgets/qabstractscrollarea.cpp:440
#20 0xb6515fa6 in QAbstractScrollArea::event (this=0x85580d0,
e=0xbfe03030) at
/home/gpothier/devel/kdesvn/qt-copy/src/gui/widgets/qabstractscrollarea.cpp:855
#21 0xb66691d4 in QGraphicsView::event (this=0x85580d0,
event=0xbfe03030) at
/home/gpothier/devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsview.cpp:2276
#22 0xb61584cc in QApplicationPrivate::notify_helper (this=0x8080958,
receiver=0x85580d0, e=0xbfe03030) at
/home/gpothier/devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3803
#23 0xb615f648 in QApplication::notify (this=0x8062fd8,
receiver=0x85580d0, e=0xbfe03030) at
/home/gpothier/devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3768
#24 0xb70463bd in KApplication::notify (this=0x8062fd8,
receiver=0x85580d0, event=0xbfe03030) at
/home/gpothier/devel/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:307
#25 0xb690b2b9 in QCoreApplication::notifyInternal (this=0x8062fd8,
receiver=0x85580d0, event=0xbfe03030) at
/home/gpothier/devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#26 0xb61b0a98 in QETWidget::translateConfigEvent (this=0x85580d0,
event=0xbfe03628) at
../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:212
#27 0xb61b9eb8 in QApplication::x11ProcessEvent (this=0x8062fd8,
event=0xbfe03628) at
/home/gpothier/devel/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:3065
#28 0xb61dec1a in x11EventSourceDispatch (s=0x8083580, callback=0,
user_data=0x0) at
/home/gpothier/devel/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:142
#29 0xb5ab0dd6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0xb5ab4193 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0xb5ab474e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0xb6932258 in QEventDispatcherGlib::processEvents (this=0x80633c0,
flags=@0xbfe037c8) at
/home/gpothier/devel/kdesvn/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:319
#33 0xb61dea15 in QGuiEventDispatcherGlib::processEvents
(this=0x80633c0, flags=@0xbfe037f8) at
/home/gpothier/devel/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:198
#34 0xb690a53d in QEventLoop::processEvents (this=0xbfe03850,
flags=@0xbfe03824) at
/home/gpothier/devel/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:143
#35 0xb690a6d1 in QEventLoop::exec (this=0xbfe03850,
flags=@0xbfe03858) at
/home/gpothier/devel/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:190
#36 0xb690c96a in QCoreApplication::exec () at
/home/gpothier/devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:845
#37 0xb6157bd7 in QApplication::exec () at
/home/gpothier/devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3331
#38 0xb7f89026 in kdemain (argc=1, argv=0xbfe03a24) at
/home/gpothier/devel/kdesvn/kdebase/workspace/plasma/shells/desktop/main.cpp:58
#39 0x080488b2 in main (argc=135581480, argv=0x8562848) at
/home/gpothier/devel/kdesvn/build/kdebase/workspace/plasma/shells/desktop/plasma_qgv_dummy.cpp:3


More information about the Plasma-devel mailing list