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 865 - Look and Feel setting not saved
Look and Feel setting not saved
Status: RESOLVED LATER
Product: Fiji
Classification: Unclassified
Component: Plugins
unspecified
Macintosh Mac OS
: P4 normal
Assigned To: ImageJ Bugs Mailing List
: 866
Depends on:
Blocks:
 
Reported: 2014-07-25 10:43 CDT by Tao Tong
Modified: 2014-07-25 11:50 CDT
2 users (show)

See Also:

Description Tao Tong 2014-07-25 10:43:30 CDT
I am using the latest version of Fiji on multiple computers (both Windows PC and Mac). I just noticed a bug: The Edit -> Options -> Look and Feel setting change will never be saved. 

On the Mac, the default is "Mac OS X', on the PC, it's "Metal". Once Fiji is restarted, the Look and Feel will always go back to the default, never remember the changed valued. 

I tried to changed where the Fiji.app folder is located, and changed the read-only attribute of the folder, nothing worked. 

Other settings are retained fine from session to session. But Look and feel never remembers the change.

Information about your version of Java:

  os.arch => x86_64
  os.name => Mac OS X
  os.version => 10.6.8
  java.version => 1.6.0_65
  java.vendor => Apple Inc.
  java.runtime.name => Java(TM) SE Runtime Environment
  java.runtime.version => 1.6.0_65-b14-462-10M4609
  java.vm.name => Java HotSpot(TM) 64-Bit Server VM
  java.vm.version => 20.65-b04-462
  java.vm.vendor => Apple Inc.
  java.vm.info => mixed mode
  java.awt.graphicsenv => apple.awt.CGraphicsEnvironment
  java.specification.name => Java Platform API Specification
  java.specification.version => 1.6
  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:20140725113557)
Fiji: http://fiji.sc/update/ (last check:20140724090838)

Files not up-to-date:
  d3260180 (LOCAL_ONLY) 20110303144101 scripts/Record_Desktop.py
  0ea7f8fc (LOCAL_ONLY) 20110303144101 scripts/Record_Window.py
Comment 1 Curtis Rueden 2014-07-25 11:10:53 CDT
The "Look & Feel" options dialog is an experimental ImageJ2 options dialog. It currently only changes the L&F for the current session of ImageJ2. And please note that Look & Feel only applies to Swing user interface, not AWT. And since the ImageJ1 legacy user interface mixes and matches AWT and Swing, you will notice inconsistency across different UI components.

I filed an issue to improve the Look & Feel behavior:
https://github.com/scijava/scijava-ui-swing/issues/3

If you want to follow the progress of that work, you can add yourself to the CC list by leaving a comment on that GitHub issue.
Comment 2 Mark Hiner 2014-07-25 11:50:56 CDT
*** Bug 866 has been marked as a duplicate of this bug. ***