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 1188 - OS X native FileDialog does not display title
OS X native FileDialog does not display title
Status: RESOLVED WONTFIX
Product: ImageJ
Classification: Unclassified
Component: Common
unspecified
Macintosh Mac OS
: P5 minor
Assigned To: Curtis Rueden
: 1192
Depends on:
Blocks:
 
Reported: 2015-11-12 02:43 CST by Radoslaw Ejsmont
Modified: 2015-12-01 10:55 CST
3 users (show)

See Also:


Attachments
Screenshot with native FileDialog open (103.30 KB, image/png)
2015-11-12 02:43 CST, Radoslaw Ejsmont

Description Radoslaw Ejsmont 2015-11-12 02:43:46 CST
Created attachment 275
Screenshot with native FileDialog open

Hi,

DirectoryChooser does not display the dialog title on OS X. See the attached image.


Information about your version of Java:

  os.arch => x86_64
  os.name => Mac OS X
  os.version => 10.11.1
  java.version => 1.8.0_66
  java.vendor => Oracle Corporation
  java.runtime.name => Java(TM) SE Runtime Environment
  java.runtime.version => 1.8.0_66-b17
  java.vm.name => Java HotSpot(TM) 64-Bit Server VM
  java.vm.version => 25.66-b17
  java.vm.vendor => Oracle Corporation
  java.vm.info => mixed mode
  java.awt.graphicsenv => sun.awt.CGraphicsEnvironment
  java.specification.name => Java Platform API Specification
  java.specification.version => 1.8
  sun.cpu.endian => little
  sun.desktop => null
  file.separator => /

The up-to-date check says: REMIND_LATER

Information relevant to JAVA_HOME related problems:

  JAVA_HOME is set to: null
  imagej.dir => /Applications/Fiji.app

Information about the version of each plugin:

Activated update sites:
ImageJ: http://update.imagej.net/ (last check:20151026205651)
Fiji: http://update.fiji.sc/ (last check:20151107181335)
3D ImageJ Suite: http://sites.imagej.net/Tboudier/ (last check:20151103085731)

Files not up-to-date:
  968c6425 (MODIFIED) 20151103165434 Contents/Info.plist
  3af43208 (MODIFIED) 20150906115145 jars/jython-shaded-2.7.0.jar
  ed3505db (LOCAL_ONLY) 20151111120023 jars/jython-swingutils-2.1.2.jar
  e85a2018 (LOCAL_ONLY) 20150121223046 plugins/DeconvolutionLab/DeconvolutionLab_.jar
  71331805 (LOCAL_ONLY) 20100820154940 plugins/jacop_.jar

R.
Comment 1 Wayne Rasband 2015-11-17 22:57:28 CST
Apple has removed the title bar from file open and directory chooser dialogs on Mac OS X 10.11 (El Capitan). I do not know how to restore it.
Comment 2 Jan Eglinger 2015-11-18 04:49:31 CST
*** Bug 1192 has been marked as a duplicate of this bug. ***
Comment 3 Wayne Rasband 2015-11-18 23:32:20 CST
You can work around this problem by upgrading to the latest ImageJ daily build (1.50e36) and enabling the "Use JFileChooser" option. Here is an example:

  setOption("JFileChooser", true);
  dir = getDirectory("Choose a Directory");
  setOption("JFileChooser", false);

Unlike the native directory chooser, JFileChooser still has a title bar on OS X 10.11 (El Capitan).
Comment 4 Radoslaw Ejsmont 2015-11-19 01:28:50 CST
Awesome. Creating the option to use Java dialog was actually the workaround I was about to suggest.

Thanks!
Comment 5 Curtis Rueden 2015-12-01 10:55:31 CST
Closing as "WONTFIX" since there is nothing we can do about this problem.

Note that there is a workaround, though -- see above.