Menu

#1771 reset should always return to the user's colors and font

nextrelease
open
nobody
None
5
2019-06-26
2017-02-07
No

Chris suggested we have a user default font and colors, instead of tying it to the last loaded vap. It seems obvious now that it's said, that this would have a separate storage place. There will need to be a GUI that allows these to be set.

Discussion

  • Jeremy Faden

    Jeremy Faden - 2017-09-11

    This needs to be done.

     
  • Jeremy Faden

    Jeremy Faden - 2019-06-26

    This needs to be done, and I'm going to knock it out now. Basically the user preferences for Options properties reset by a .vap load need to be stored in some persistent area. I'd suggest a new file ~/autoplot_data/config/preferences.properties.

    The properties modified when a .vap is loaded are:

    • background
    • foreground
    • color
    • fillColor
    • canvasFont
    • useTimeRangeEditor
    • flipColorbarLabel
    • tickLen
    • lineThickness
    • scanEnabled
     

    Last edit: Jeremy Faden 2019-06-26
  • Jeremy Faden

    Jeremy Faden - 2019-06-26

    There's a listener in OptionsPrefsController.java which saves out the preferences whenever they change in the vap. I think if I make this an action which the scientist must actively invoke ("Save Options to File" button), I can get the behavior we want.

     
MongoDB Logo MongoDB