A solution might be to implement the Xdnd Direct Save (XDS) protocol: http://freedesktop.org/wiki/Specifications/XDS
Doing the job via XDS means Thunderbird can keep control of the saving process, can react and do extra things if a file of the same name already exists (e.g. prompt the user for a different filename and allow them to cancel), and it doesn't have to create a temporary file to pass to the file manager via a uri link. The following file managers, at least, support XdndDirectSave0 as drop targets: * Nautilus * Thunar * xfdesktop4 * rox-filer I imagine dolphin in KDE4 would support it too. The file-roller code ( apt-get source file-roller ) and 'gtksavebox.c' in ROX-CLib ( http://sourceforge.net/projects/rox/files/ROX-CLib/2.1.10/ ) are examples of how to to it in C. I can be more specific on request. In response to comment 88 (by karlt), explicit support isn't needed in GDK: see the source code examples I link to above. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-common in Ubuntu. https://bugs.launchpad.net/bugs/381017 Title: Cannot drag attachment from mail attachment pane to desktop Status in SeaMonkey: all-in-one Internet application suite: Confirmed Status in Mozilla Thunderbird Mail and News: Confirmed Status in “gnome-common” package in Ubuntu: Confirmed Status in “kde-baseapps” package in Ubuntu: Confirmed Status in “seamonkey” package in Ubuntu: Confirmed Status in “thunderbird” package in Ubuntu: Triaged Bug description: Ubuntu 9.04 Gnome Desktop 2.26.1 Thunderbird 2.0.0.21 This is regression introduced in Jaunty as it works in Intrepid. Dragging an attachment from the attachment pane to the desktop give the following error: == Error while copying There was an error getting information about "fetch>UID>.voicemail>1784". The specified location is not supported == Mail account is IMAP. This error was shown to seb128 and asac. The expected behavior is that the file is copied to the destination onto which it is dragged. To manage notifications about this bug go to: https://bugs.launchpad.net/seamonkey/+bug/381017/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp