Package: thunar Version: 1.0.1-3 Severity: normal Tags: patch --- Please enter the report below this line. ---
Thunar crashes when dragging non-file data (selected text, elements from the panel, ...) over its window - even if you don't drop it there. This seems to be a known bug and I found a patch that worked. [1] The line-numbers changed so I made a new one. Cheers, - Daniel [1] http://www.mail-archive.com/thunar-...@xfce.org/msg03850.html --- System information. --- Architecture: i386 Kernel: Linux 2.6.32-3-686 Debian Release: squeeze/sid 500 testing security.debian.org 500 testing ftp.de.debian.org --- Package information. --- Depends (Version) | Installed ====================================-+-============== libatk1.0-0 (>= 1.20.0) | 1.28.0-1 libc6 (>= 2.3.6-6~) | 2.10.2-6 libcairo2 (>= 1.2.4) | 1.8.10-2 libdbus-1-3 (>= 1.0.2) | 1.2.20-2 libdbus-glib-1-2 (>= 0.78) | 0.84-1 libexo-0.3-0 (>= 0.3.100) | 0.3.106-1 libfreetype6 (>= 2.2.1) | 2.3.11-1 libglib2.0-0 (>= 2.18.0) | 2.22.4-1 libgtk2.0-0 (>= 2.10.1) | 2.18.6-1 libice6 (>= 1:1.0.0) | 2:1.0.6-1 libpango1.0-0 (>= 1.14.0) | 1.26.2-1 libsm6 | 2:1.1.1-1 libthunar-vfs-1-2 (>= 1.0.0) | 1.0.1-3 libx11-6 (>= 0) | 2:1.3.3-2 libxfce4util4 (>= 4.6.0) | 4.6.1-2 desktop-file-utils | 0.15-2 shared-mime-info | 0.71-1 thunar-data (= 1.0.1-3) | 1.0.1-3 exo-utils | 0.3.106-1 Recommends (Version) | Installed ============================-+-=========== hal | 0.5.14-2 dbus-x11 | 1.2.20-2 gamin | 0.1.10-2+b1 xfce4-panel (>= 4.6.0) | 4.6.3-1 thunar-volman | 0.3.80-4 xdg-user-dirs | Suggests (Version) | Installed =======================================-+-=========== thunar-archive-plugin | 0.2.4-5 thunar-media-tags-plugin | 0.1.2-2
--- Thunar-1.0.1/thunar/thunar-standard-view.c 2009-01-12 21:38:48.000000000 +0100 +++ thunar-1.0.1.patched/thunar/thunar-standard-view.c 2010-03-23 04:46:40.253567236 +0100 @@ -2866,7 +2866,8 @@ else { /* request the drag data from the source */ - gtk_drag_get_data (view, context, target, time); + if ( target != GDK_NONE ) + gtk_drag_get_data (view, context, target, time); } /* tell Gdk whether we can drop here */