Label settings are not remembered

Issue #534 closed
Robert Leach created an issue

USE CASE: WHAT DO YOU WANT TO DO?

I don't want to have to select my preferred font, font sizes, justification, and whizzing label every time I start up the app. Just remember my selections.

STEPS TO REPRODUCE AN ISSUE (OR TRIGGER A NEW FEATURE)

  1. Change the font, font size, fixed checkbox, justification, and whizzing label selection (if on branch issue533).
  2. Quit the app
  3. Start the app up again and open the same file

CURRENT BEHAVIOR

The only thing that is saved is the selected label type. All other settings are not saved.

EXPECTED BEHAVIOR

All selected options in the label settings dialog should be preserved. Ideally, a user could select to save their settings as default for all files, but it would be acceptable for now to save it per file.

DEVELOPERS ONLY SECTION

SUGGESTED CHANGE (Pseudocode optional)

Make sure configNode.store and ...Restore... are properly being called using debug prints and/or code breakpoints.

FILES AFFECTED (where the changes will be implemented) - developers only

  • LabelView
  • LabelSettings & associated classes that are used for member variables.

LEVEL OF EFFORT - developers only

medium

COMMENTS

Comments (7)

  1. Robert Leach reporter

    Resolved issue 534 - label settings not remembered.

    The state was being stored in the various setters for each font-associated setting, which was overwriting the saved settings whenever the defaults were loaded upon startup.

    Also, needed to make one more call to a synchronize method and had to correct the storage of the fixed & justified settings, which were always saving the default instead of the user-supplied settings.

    → <<cset a442a259dd10>>

  2. Log in to comment