Opened 9 years ago
#318 new defect
Colourlovers palette message logged above command
Reported by: | Owned by: | Tom Goddard | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Command Line | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
rainbow chain palette "Giant Goldfish"
logs a message about duplicate color palettes with this name above the actual command in the log window. The message should appear below the command.
The problem is that parsing the palette argument fetches the colors and produces the multiple palettes message, and argument parsing happens before the command is echoed to the log. The argument parsing probably does need to be done before logging the command since the logged command gives "completed" unabbreviated arguments.
This can be fixed by delaying fetching the palette colors until the command asks for the colors.