NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 107 - cannot open file from drag and drop with '+' in the name
cannot open file from drag and drop with '+' in the name
Status: RESOLVED FIXED
Product: Fiji
Classification: Unclassified
Component: ImageJ1
unspecified
PC Linux
: P2 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2009-11-24 16:50 CST by Albert Cardona
Modified: 2009-11-24 18:22 CST
0 users

See Also:

Description Albert Cardona 2009-11-24 16:50:55 CST
A file named:

L72 9D11 pos + #7 72h annot.tif

... cannot be opened by drag and drop, at least in Ubuntu.

The same file opens fine from the file dialog at "File - Open".

ImageJ reports, in debug mode:

DragOver: java.awt.Point[x=220,y=17]
DragAndDrop.drop: 46 flavors
  flavor[0]: text/uri-list; class=java.io.Reader; charset=Unicode
  flavor[1]: text/uri-list; class=java.lang.String; charset=Unicode
  content: /home/albert/lab/confocal/others/BP106 L2-Pupa/staged brains BP106/L72 9D11 pos   #7 72h annot.tif
DragAndDrop.openFile: /home/albert/lab/confocal/others/BP106 L2-Pupa/staged brains BP106/L72 9D11 pos   #7 72h annot.tif
File not found: /home/albert/lab/confocal/others/BP106 L2-Pupa/staged brains BP106/L72 9D11 pos   #7 72h annot.tif


Something is wrong then with the String DND flavor in Ubuntu.
Comment 1 Johannes Schindelin 2009-11-24 18:22:05 CST
I just pushed a fix onto the 'fiji' branch of ImageJA, and will send the patch to Wayne, too.

The problem was only with Linux because for some reason, drag 'n drop does not use the "file list" flavor on Linux (I verified that the fix does not break on Windows nor MacOSX).