Allow user to save a color scheme in a preset

Issue #438 new
Robert Leach created an issue

USE CASE: WHAT DO YOU WANT TO DO?

Save a color color scheme as a preset similar to the way print settings are savable.

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

  1. Select View->Colors
  2. Click the color scheme drop-down menu

CURRENT BEHAVIOR

There is no option in the color scheme drop-down to save and name the current color scheme.

EXPECTED BEHAVIOR

Manual components:

Color schemes should be able to be manually saved as a user favorite (specific to the app) via a the color scheme select list, similar to the way printer presets are saved in Mac OS X:

printerpresetmenu.png

Which brings up a save dialog like this:

savenewpreset.png

Users should be able to edit presets (delete & duplicate) if they select "Show(/Edit) Presets..." from the presets menu like this:

editpresets.png

Though the delete button should be disabled for the provided defaults (RedGreen, YellowBlue, & Custom. Custom (i.e. "current colors") should be disabled if it is not the current color scheme in use. It's there to simply allow the user to save the current colors as a preset using "duplicate".

If they select duplicate, the colors are retrieved & saved as a new preset, the same as if they'd chosen to save the existing color changes (only it does not apply to the current color scheme in use for the data).

If the user selects delete, a simple confirm dialog should appear that they can use to confirm or cancel a preset deletion.

Automatic component:

If a user makes changes to the sliders and then goes to close the colors dialog without having applied their changes, they should be presented with a dialog which prompts them to either apply their changes (via the new preset-save feature mentioned above), both save & apply, discard, or cancel:

You have unsaved/unapplied changes to the color scheme. What would you like to do with them?

  1. Apply
    • Save the settings to "custom" and switch the selected color scheme to custom (if not already selected)
    • Previous custom settings are lost
    • Any previously selected preset does not change and can be restored/selected again later
    • The color dialog window closes
  2. Apply & Save (as a new preset or as an updated existing preset)
    • brings up the preset save dialog (where they can choose to update the current preset or create a new one)
    • Any newly created preset becomes available (& selected) in the color scheme drop-down
    • The color dialog window closes
  3. Discard
    • Throws out changes such that the color scheme selected when the color dialog was first opened is shown the next time the color dialog is opened
    • The color dialog window closes
  4. Cancel
    • Dismiss the warning about unsaved/unapplied color changes
    • Do not close the color dialog window

DEVELOPERS ONLY SECTION

SUGGESTED CHANGE (Pseudocode optional)

none

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

unknown

LEVEL OF EFFORT - developers only

major

COMMENTS

This issue is basically a continuation of issue #136, which never got fully implemented... Tweaked issue #136's saving of a preset description so that it can be used to solve issue #342 in a more comprehensive manner. Issue #342 is about "forgetting" un-applied changes to the color settings and getting back to the currently active custom color scheme.

Comments (5)

  1. Log in to comment