knip icon indicating copy to clipboard operation
knip copied to clipboard

Image reader drag and drop can not handle paths containing spaces on OSX

Open gab1one opened this issue 9 years ago • 2 comments

On Mac OSX these are replaced with an %20 when passed to an application.

gab1one avatar Feb 04 '16 22:02 gab1one

Oh, I didn't even know that drag-n-drop was possible at all.

I already noticed that the File input fields of the File Upload (when used as an input form in a wrapped metanode) and List files nodes do not accept drag and drop. (This feature would really be nice to have!)

Now I tried to just drag an image onto the workspace (on Windows), but the created Image Reader node throws an exception when being executed:

Encountered exception while reading image /E:/temp/test.tif! Caught Exception: Illegal char <:> at index 2

UPDATE: upon clicking once Configure and OK, the image gets read correctly. The exception occurs only when executing right after dragging the image into the workspace.

imagejan avatar Feb 05 '16 11:02 imagejan

Configure and OK, the image gets read correctly. The exception occurs only when executing right after dragging the image into the workspace.

Looks like we have to reconfigure the node after it got created by drag and drop.

gab1one avatar Feb 05 '16 16:02 gab1one