[Thunar-dev] Patch for thunar drag and drop crash

k blammo k.blammo at gmail.com
Sun Oct 25 18:40:24 CET 2009


L.S.

Here's a little patch to prevent thunar from crashing when dragging
unhandled formats (text, panel plugins, windows from the taskswitcher
applet etc) over its fileview.
For those interested: The call to gtk_drag_get_data ultimately results
in a call to XConvertSelection which generates a BadAtom error.

Steps to reproduce:
* select text somewhere (e.g. in Mousepad)
* drag selected text over the fileview in thunar
* crash

reproducible: always

versions affected:
* trunk
* Xubuntu 9.10
(have not bothered going further back)

best regards,
Karl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: thunar.patch
Type: text/x-diff
Size: 566 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20091025/e2f49e13/attachment.patch>


More information about the Thunar-dev mailing list