Hello,
I'm having an issue where ImageJ does not open every selected file when I attempt to drag and drop multiple files at the same time. In other words, when I select in the Finder, say, 6 files, and drag the selected files all at once onto the ImageJ menu bar, only 4 will actually get opened. This worked fine until I updated ImageJ to 1.51h13. I've noted this behavior for .tif files (haven't checked other types). Mac OS 10.12.1 JDK 1.8.0_111 Mac Pro (late 2013), 16 GB RAM Jon Marsh |
> On Oct 28, 2016, at 1:12 PM, JonNathan <[hidden email]> wrote:
> > Hello, > > I'm having an issue where ImageJ does not open every selected file when I > attempt to drag and drop multiple files at the same time. In other words, > when I select in the Finder, say, 6 files, and drag the selected files all > at once onto the ImageJ menu bar, only 4 will actually get opened. This > worked fine until I updated ImageJ to 1.51h13. I've noted this behavior for > .tif files (haven't checked other types). > > Mac OS 10.12.1 > JDK 1.8.0_111 > Mac Pro (late 2013), 16 GB RAM Hi Jon, I am not able to reproduce this problem. Perhaps you have run into the path randomization “feature" that Apple added to macOS 10.12 (Sierra). [1] You are experiencing path randomization if the “ImageJ home” path shown in the window opened by pressing “i” (Image>Show Info) starts with “/private”. You can disable path randomization by moving ImageJ.app out of the ImageJ folder and then copying it back. If the ImageJ folder is in /Applications you will need to hold down the alt key while dragging ImageJ.app out of the ImageJ folder. -wayne [1] https://weblog.rogueamoeba.com/2016/06/29/sierra-and-gatekeeper-path-randomization/ > -- > View this message in context: http://imagej.1557.x6.nabble.com/Drag-and-drop-not-working-as-expected-on-Mac-tp5017500.html > Sent from the ImageJ mailing list archive at Nabble.com. -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Wayne,
Thanks for looking into this. The ImageJ home path did not have the issue you mentioned, so I don't think that's the problem, unfortunately. I tried to move the app out of the folder and back anyway, to no avail. A few more details: When opening multiple files via drag-and-drop, it always happens that two files less than the number selected get opened successfully (e.g. if 5 are dragged and dropped at once, only 3 get opened, and if 2 are dragged and dropped at once, none get opened), and there is an error message for the files that fail to open, e.g. "File not found: /Users/jnm/Desktop/test folder/Dot_Blot.tif/Users/jnm/Desktop/test folder/gel.tif". I also noted the same issue with a different installation (Fiji) on the same computer using ImageJ 1.51g, so whatever is happening isn't necessarily associated with 1.51h13. I also tried using a brand new installation of ImageJ on the same machine, with the same problem. In this case the path randomization issue was there, but the problem remained after fixing it. Jon |
Hi,
I had the same problem and posted about it on the list previously. The first two files are not opened when doing a drag & drop from a Folder content. I was using Java 1.8.0_102 and downgrading to 1.8.0_101 solved the problem. I'm suspecting the bug is in newer Java versions and that you have it in 1.8.0_111. Christophe Le 31 oct. 2016 7:09 PM, "JonNathan" < [hidden email]> a écrit : > Hi Wayne, > > Thanks for looking into this. The ImageJ home path did not have the issue > you mentioned, so I don't think that's the problem, unfortunately. I tried > to move the app out of the folder and back anyway, to no avail. > > A few more details: When opening multiple files via drag-and-drop, it > always > happens that two files less than the number selected get opened > successfully > (e.g. if 5 are dragged and dropped at once, only 3 get opened, and if 2 are > dragged and dropped at once, none get opened), and there is an error > message > for the files that fail to open, e.g. "File not found: > /Users/jnm/Desktop/test folder/Dot_Blot.tif/Users/jnm/Desktop/test > folder/gel.tif". I also noted the same issue with a different installation > (Fiji) on the same computer using ImageJ 1.51g, so whatever is happening > isn't necessarily associated with 1.51h13. > > I also tried using a brand new installation of ImageJ on the same machine, > with the same problem. In this case the path randomization issue was > there, > but the problem remained after fixing it. > > Jon > > > > -- > View this message in context: http://imagej.1557.x6.nabble. > com/Drag-and-drop-not-working-as-expected-on-Mac-tp5017500p5017510.html > Sent from the ImageJ mailing list archive at Nabble.com. > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by JonNathan
> On Oct 31, 2016, at 2:08 PM, JonNathan <[hidden email]> wrote:
> > Hi Wayne, > > Thanks for looking into this. The ImageJ home path did not have the issue > you mentioned, so I don't think that's the problem, unfortunately. I tried > to move the app out of the folder and back anyway, to no avail. > > A few more details: When opening multiple files via drag-and-drop, it always > happens that two files less than the number selected get opened successfully > (e.g. if 5 are dragged and dropped at once, only 3 get opened, and if 2 are > dragged and dropped at once, none get opened), and there is an error message > for the files that fail to open, e.g. "File not found: > /Users/jnm/Desktop/test folder/Dot_Blot.tif/Users/jnm/Desktop/test > folder/gel.tif". I also noted the same issue with a different installation > (Fiji) on the same computer using ImageJ 1.51g, so whatever is happening > isn't necessarily associated with 1.51h13. > > I also tried using a brand new installation of ImageJ on the same machine, > with the same problem. In this case the path randomization issue was there, > but the problem remained after fixing it. This appears to be a Java bug. It occurs with Java 1.8.0_111 but not with Java 1.8.0_101, the version of Java bundled with the OS X distribution of ImageJ available at https://imagej.nih.gov/ij/download.html -wayne > -- > View this message in context: http://imagej.1557.x6.nabble.com/Drag-and-drop-not-working-as-expected-on-Mac-tp5017500p5017510.html > Sent from the ImageJ mailing list archive at Nabble.com. -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |