[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#589957: ksnapshot: crashes when using alt-tab and drag-n-drop

Package: ksnapshot
Version: 4:4.4.4-1+b1
Severity: normal

If alt-tab is pressed after dragging the image from KSnapshot (with left mouse
button still pressed), KSnapshot crashes. This behaviour can be
reproduced, I attached a backtrace with libqt4-dbg installed.

This bug renders the drag-n-drop functionality of KSnapshot partly
unusable since one can only drag the image to windows that are on the
screen at the time (so no alt-tab-ing is needed).

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux (SMP w/2 CPU cores)
Locale: LANG=hu_HU.UTF-8, LC_CTYPE=hu_HU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ksnapshot depends on:
ii  kdebase-runtime             4:4.4.4-1+b1 runtime components from the offici
ii  libc6                       2.11.2-2     Embedded GNU C Library: Shared lib
ii  libkdecore5                 4:4.4.4-2    the KDE Platform Core Library
ii  libkdeui5                   4:4.4.4-2    the KDE Platform User Interface Li
ii  libkio5                     4:4.4.4-2    the Network-enabled File Managemen
ii  libqt4-dbus                 4:4.6.3-1    Qt 4 D-Bus module
ii  libqtcore4                  4:4.6.3-1    Qt 4 core module
ii  libqtgui4                   4:4.6.3-1    Qt 4 GUI module
ii  libstdc++6                  4.4.4-6      The GNU Standard C++ Library v3
ii  libx11-6                    2:1.3.3-3    X11 client-side library
ii  libxext6                    2:1.1.2-1    X11 miscellaneous extension librar

ksnapshot recommends no packages.

ksnapshot suggests no packages.

-- debconf-show failed
Application: KSnapshot (ksnapshot), signal: Segmentation fault
[KCrash Handler]
#6  QDragManager::move (this=0x86b5bd8, globalPos=...) at kernel/qdnd_x11.cpp:1596
#7  0xb61ce7ff in QDragManager::eventFilter (this=0x86b5bd8, o=0x877d050, e=0xbfda6b14) at kernel/qdnd_x11.cpp:1287
#8  0xb6be288c in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0x826c980, receiver=0x877d050, event=0xbfda6b14) at kernel/qcoreapplication.cpp:822
#9  0xb612c553 in QApplicationPrivate::notify_helper (this=0x826c980, receiver=0x877d050, e=0xbfda6b14) at kernel/qapplication.cpp:4277
#10 0xb6133af7 in QApplication::notify (this=0xbfda83ec, receiver=0x877d050, e=0xbfda6b14) at kernel/qapplication.cpp:3867
#11 0xb71acb4a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#12 0xb6be352b in QCoreApplication::notifyInternal (this=0xbfda83ec, receiver=0x877d050, event=0xbfda6b14) at kernel/qcoreapplication.cpp:726
#13 0xb6132a52 in QCoreApplication::sendEvent (receiver=0x877d050, event=0xbfda6b14, alienWidget=0x0, nativeWidget=0x877d050, buttonDown=0xb6a74998, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#14 QApplicationPrivate::sendMouseEvent (receiver=0x877d050, event=0xbfda6b14, alienWidget=0x0, nativeWidget=0x877d050, buttonDown=0xb6a74998, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2967
#15 0xb61bdd7c in QETWidget::translateMouseEvent (this=0x877d050, event=0xbfda6f60) at kernel/qapplication_x11.cpp:4380
#16 0xb61bd28b in QApplication::x11ProcessEvent (this=0xbfda83ec, event=0xbfda6f60) at kernel/qapplication_x11.cpp:3391
#17 0xb61eb3e2 in x11EventSourceDispatch (s=0x826fbe8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#18 0xb592e2f5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#19 0xb5931fd8 in ?? () from /lib/libglib-2.0.so.0
#20 0xb59321b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#21 0xb6c0f095 in QEventDispatcherGlib::processEvents (this=0x8257c08, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#22 0xb61eaf45 in QGuiEventDispatcherGlib::processEvents (this=0x8257c08, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#23 0xb6be1b49 in QEventLoop::processEvents (this=0x87fff18, flags=) at kernel/qeventloop.cpp:149
#24 0xb6be1f9a in QEventLoop::exec (this=0x87fff18, flags=...) at kernel/qeventloop.cpp:201
#25 0xb61d17dc in QDragManager::drag (this=0x86b5bd8, o=0x889d150) at kernel/qdnd_x11.cpp:1960
#26 0xb61449ce in QDrag::start (this=0x889d150, request=...) at kernel/qdrag.cpp:314
#27 0x08054585 in _start ()

Reply to: