Hello all,
there appears to be a difference between OS X versions: macro command: File.openDialog("Select a file") 1) Yosemite: message "Select a file" is shown (plus the three top-left bullets with"green" active) 2) El Capitan: No message and no bullets. Often the message contains important information. So if there is no work-around, I am going to precede this with a showMessage(msg) Norbert Vischer -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
I have the same issue with messages in getDirectory("message") and
File.openDialog("message"). Macros that prompt the user with a message in Yosemite just have a folder window without a message in El Capitan. vischer wrote > Hello all, > > there appears to be a difference between OS X versions: > > macro command: File.openDialog("Select a file") > > > 1) Yosemite: > message "Select a file" is shown (plus the three top-left bullets > with"green" active) > 2) El Capitan: > No message and no bullets. > > Often the message contains important information. So if > there is no work-around, I am going to precede this with a > showMessage(msg) > > Norbert Vischer > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html -- Sent from: http://imagej.1557.x6.nabble.com/ -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by vischer
Norbert,
On Macos 10.12.6 (Sierra) and Java 1.6.0_65 here, no message or colored dots appears. Only a title-less navigation dialog appears, identical to what is seen when the "File>Open..." menu item is used. Bill Christens-Barry -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi all,
This is a limitation of macOS now: file choosers simply do not have a title bar anymore. I added a Troubleshooting entry about it: https://imagej.net/MacOS#No_title_bar_in_file_chooser_dialogs As a workaround, you can check "Use JFileChooser to open/save" in the Edit ▶ Options ▶ Input/Output... dialog. Regards, Curtis -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden Did you know ImageJ has a forum? http://forum.imagej.net/ On Wed, Sep 6, 2017 at 9:26 AM, Bill Christens-Barry <[hidden email]> wrote: > Norbert, > > On Macos 10.12.6 (Sierra) and Java 1.6.0_65 here, no message or colored > dots appears. Only a title-less navigation dialog appears, identical to > what is seen when the "File>Open..." menu item is used. > > Bill Christens-Barry > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Curtis,
I'm facing an issue preventing the selection of any file when using File.openDialog() on El Capitan (10.11.6), ImageJ 1.52m11, and Java 1.8.0_172 [64-bit]. I tried changing to JFileChooser, but no help. Regards, Andre -- Sent from: http://imagej.1557.x6.nabble.com/ -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by ctrueden
Hi Andre,
> I'm facing an issue preventing the selection of any file when using > File.openDialog() on El Capitan (10.11.6), ImageJ 1.52m11, and Java > 1.8.0_172 [64-bit]. I tried changing to JFileChooser, but no help. I cannot replicate this issue on macOS 10.14 Mojave. The following macro successfully lets me select a file and prints the path: file = File.openDialog("Hello"); print(file); Does the above macro work on your system? - If not: have you tried other macOS systems? We need to narrow down on which systems the problem occurs. - If so: could you please post a non-working macro so that we can reproduce? Regards, Curtis -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden Have you tried the Image.sc Forum? https://forum.image.sc/ On Fri, Feb 8, 2019 at 4:50 PM andreok <[hidden email]> wrote: > Hi Curtis, > > I'm facing an issue preventing the selection of any file when using > File.openDialog() on El Capitan (10.11.6), ImageJ 1.52m11, and Java > 1.8.0_172 [64-bit]. > I tried changing to JFileChooser, but no help. > > Regards, > Andre > > > > -- > Sent from: http://imagej.1557.x6.nabble.com/ > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |