Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Drag and drop issue with jEdit Apps
I wanted to edit the index.html file that sits in the ~/Sites folder. If you double-click this file, Explorer opens. So I picked it up and dropped it on my jEdit icon in DragThing. Poof - the file vanished! jEdit is a Java-based text editor, not some kind of auto-deleter, so it looked like there was a bit of a problem. A quick look showed it wasn't in the trash, and I couldn't use Sherlock to find the file, since I have about 2,500 index.html's on my machine ... so it had basically vanished into thin air.

As an experiment, I duplicated a text document, renamed it to "XXXYYYZZZ" and dropped that onto jEdit. Same results - poof, file's gone. But this time I launched Sherlock, and searched for the file. No sign of it on any disk. So once more, I went back to the finder, duplicated a text file, and named it the same thing as before. Dragged it onto jEdit, but this time, I got a message about there already being a file with that name in the location, and did I want to rename the file?

This was the enlightenment I needed. I went to the finder, right-clicked on the jEdit app, and chose Show Package Contents. There, sitting inside the jEdit application bundle, were all my test files, and the missing index.html file! Somehow, dragging and dropping the document on jEdit moved it into the app bundle, instead of launching jEdit.

I tested this with a couple other apps, and couldn't repeat the behavior. But I can repeat it consistently with jEdit. So if you use DragThing, and you seem to have dropped a file and had it vanish, check the bundle for the application you dropped it onto -- it may very well be there!
  • Currently 3.00 / 5
  You rated: 5 / 5 (7 votes cast)

Drag and drop issue with jEdit | 2 comments | Create New Account
Click here to return to the 'Drag and drop issue with jEdit' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
jEdit vs DragThing
Authored by: Anonymous on Apr 03, '01 04:09:21AM

It sounds like what's happening is that DragThing doesn't recognise that the jEdit application package is a package, and thinks it's a folder (which is really all that packages are). A quick test is to switch on the 'show file type in name bar' option in the Preferences, and see what DragThing thinks the type and creator of the application is. It should be getting it from the 'pkgInfo' file inside the package - if that doesn't exist, or it looks messed up, that might explain things.

So, it's possible this is an issue with the packaging of jEdit, or DragThing's reading of it. Either way, I'll download jEdit and see what I can find out.

[ Reply to This | # ]
jEdit vs DragThing
Authored by: Anonymous on Apr 19, '01 04:18:10PM
This is now fixed in DragThing 4.0.1 - at least, it doesn't think it's a folder any more, but you can't drag and drop onto Java apps in either case it seems. You can get it from Thanks for the bug report!

[ Reply to This | # ]