Drag and Drop from Thunderbird creates 0-bytes file
Moderators: white, Hacker, petermad, Stefan2
Drag and Drop from Thunderbird creates 0-bytes file
When I drag an attached file in a mail message from Thunderbird 2.0.0 to TC 7.0, a file of zero bytes is created. All previous versions of TC worked OK.
Dragging to the desktop (XP) works fine too, dragging from the desktop to TC works also fine (so I have a work around )
Dragging to the desktop (XP) works fine too, dragging from the desktop to TC works also fine (so I have a work around )
Very likely the same issue as reported here:
+ drop failure with thunderbird
+ Drag & drop images from Firefox?
You may find more related threads searching the forum for "drag drop Firefox", "drag drop Thunderbird", "drag drop Mozilla" (without the double quotes).
Karl
+ drop failure with thunderbird
+ Drag & drop images from Firefox?
You may find more related threads searching the forum for "drag drop Firefox", "drag drop Thunderbird", "drag drop Mozilla" (without the double quotes).
Karl
Cannot confirm that
I'm using TB 2.0.0.4 and TC7 final under Win2KSP4.
Problem fixed perhaps with TB 2.0.0.4?
EDIT: Sorry, i can confirm that now. It happens exactly as described in this post by sqa_wizard. Strange...
I'm using TB 2.0.0.4 and TC7 final under Win2KSP4.
Problem fixed perhaps with TB 2.0.0.4?
EDIT: Sorry, i can confirm that now. It happens exactly as described in this post by sqa_wizard. Strange...
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
- ghisler(Author)
- Site Admin
- Posts: 48104
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately that's what Thunderbird sends to me in the IDropTarget.Drop function.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Drag and Drop from Thunderbird creates 0-bytes file
Tested again with 7.01, same result.
The workaround via the taskbar works, but only if you don't minimize TC to the tray automatically. If you have set the latter to yes, trying to drop the file via the taskbar will minimize TC......
Still strange that the via-route works ok, you should expect the same behaviour.
Joost
The workaround via the taskbar works, but only if you don't minimize TC to the tray automatically. If you have set the latter to yes, trying to drop the file via the taskbar will minimize TC......
Still strange that the via-route works ok, you should expect the same behaviour.
Joost
- ghisler(Author)
- Site Admin
- Posts: 48104
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I'm sorry but I don't have a solution for this problem. I have tested it a debugger: In the "Drop" method, both Firefox and Thunderbird pass a name to a file in the TEMP directory to Total Commander - this file is empty. I have no idea how I could tell these programs to put data in these files. This problem seems to exist only with these two programs.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
confirmed
Hi.
I have the same problem.
Maybe it will help you if I told you that it works to drag the file on desktop.
Maybe the authors of Mozilla knows better where the problem is.
Workaround (not so perfect... I know ):
1 drag the file on desktop
2 from desktop drag it in Commander.
I have the same problem.
Maybe it will help you if I told you that it works to drag the file on desktop.
Maybe the authors of Mozilla knows better where the problem is.
Workaround (not so perfect... I know ):
1 drag the file on desktop
2 from desktop drag it in Commander.
- ghisler(Author)
- Site Admin
- Posts: 48104
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The workaround is to drag it to the TC icon in the taskbar as described above, wait until TC jumps to the foreground, and then drop it in a TC panel. I have no idea why this works, but it seems that Mozilla fills the dummy files with data in this case...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
IE Tab workaround
This bug is a big pain! I just found out that IE is fine when you click and drag to TC. Download the IE Tab plugin for Firefox and in a single click you can now drag images to your TC.
URL... dont work... since im a new user.
google "IE Tab firefox plugin"
enjoy
---
also don't forget if you CTRL-ENTER a directory it will open a windows explorer folder and you can also drop folders from firefox this way also...
---
this one also kicks ass. especially the directory menu feature. sooo much easier to click and drag folder vs one at a time... this should be standard in my opinion.
google "Ultra TC editors"
-j
URL... dont work... since im a new user.
google "IE Tab firefox plugin"
enjoy
---
also don't forget if you CTRL-ENTER a directory it will open a windows explorer folder and you can also drop folders from firefox this way also...
---
this one also kicks ass. especially the directory menu feature. sooo much easier to click and drag folder vs one at a time... this should be standard in my opinion.
google "Ultra TC editors"
-j
- ghisler(Author)
- Site Admin
- Posts: 48104
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
-
- Junior Member
- Posts: 24
- Joined: 2008-03-06, 14:17 UTC
Just reproduced this behaviour with my Development Studio and Firefox.
Firefox first creates a zero-byte File, then raises the DragDrop-Event synchronously, and when the program execution continues the file is filled with data.
For me this is a crystal-clear bug in Firefox. You cannot send a filename to another program when the file itself is not filled. This must end in conflicts.
Since Windows-Explorer does almost everything multithreaded its working in it. Unfortunately Total Commander seems not to do so.
My Testprogram first created 0-byte Files when I tried to copy the Image during the DragDrop Event. To correct this, I created a thread which waits some ticks until the DragDrop Event finished and then tries to copy aswell.
Result: An Image with 1592 Bytes, just like the source-image in the temp-Directory.
Firefox first creates a zero-byte File, then raises the DragDrop-Event synchronously, and when the program execution continues the file is filled with data.
For me this is a crystal-clear bug in Firefox. You cannot send a filename to another program when the file itself is not filled. This must end in conflicts.
Since Windows-Explorer does almost everything multithreaded its working in it. Unfortunately Total Commander seems not to do so.
My Testprogram first created 0-byte Files when I tried to copy the Image during the DragDrop Event. To correct this, I created a thread which waits some ticks until the DragDrop Event finished and then tries to copy aswell.
Result: An Image with 1592 Bytes, just like the source-image in the temp-Directory.
-
- Junior Member
- Posts: 24
- Joined: 2008-03-06, 14:17 UTC
- StickyNomad
- Power Member
- Posts: 1933
- Joined: 2004-01-10, 00:15 UTC
- Location: Germany
-
- Junior Member
- Posts: 24
- Joined: 2008-03-06, 14:17 UTC
- StickyNomad
- Power Member
- Posts: 1933
- Joined: 2004-01-10, 00:15 UTC
- Location: Germany