ID 442511 - Color Picker component gradient positions and internal values are not updated when toggling 'Enable Display Transform' option

Follow

Problem summary:

When toggling the 'Enable Display Transform' option of the Color Picker, the component widgets (e.g for red, green, and blue values in the RGB tab), are not fully updated. The internal 'color picking' colorspace value is not regenerated from the [correctly preserved] raw / scene linear color policy values displayed in text, meaning that a subsequent adjustment of a single component via one of these gradients can modify the color values in an unexpected manner (e.g. modifying another component at the same time). Additionally, the value markers on the gradients are not repositioned, meaning that adjustments cannot reliably be made from the correct starting point.

Steps to reproduce:

  1. Launch Katana with the default OCIO profile ('nuke-default').
  2. Open the attached reproduction project ('Toggle_Display_Transform.katana'), or construct one with a node that has a user parameter of type 'Color, RGB', with default hints and an RGB value of (0.8, 0.5, 0.0).
  3. Click the swatch to open the Color Picker.
  4. Uncheck the 'Enable Display Transform' option. Note that the color values are correctly preserved, but that the green component's horizontal gradient marker in the RGB tab incorrectly stays at the same position, rather than moving to the centre (linear 0.5).
  5. Click on the green component's marker to begin modifying the value. Note that the green component value jumps to the value that is actually beneath the marker (0.73563, or close to it) and that the red value incorrectly changes from 0.8 to 0.90633.

Workaround:

After toggling the 'Enable Display Transform' option, close and reopen the Color Picker to correctly refresh the component gradient widgets, or use the 2D color picker (or associated third component vertical gradient) to modify the color.

Tested versions/platforms:

  • 1.6v3 -Affected
  • 3.6v1 - Affected

    We're sorry to hear that

    Please tell us why