Photoshop: Color is not updated live when setting a color from a custom Color Picker plugin

  • 1
  • Problem
  • Updated 5 years ago
  • (Edited)
We are developing a Color Picker plugin for Photoshop. It works as expected and we can set the color, but it is not updated "live".

For instance, if you have a vector layer, you need to close the color picker to actually see the new color. This is not how the Adobe color picker work, or if you use another system-wide color picker.

We write the picked color in the correct data buffer, but it is not used until the color picker is closed. This is not the expected behaviour.

Step-by-step instructions:

1. Change color picker to a custom PS color picker plugin
2. Create a vector layer
3. Launch the color picker by selecting a color in the top bar
4. Select a color
5. Color is not updated without closing the color picker

This problem exists with many other objects as well. It works with native OSX color pickers, but not when using a PS color picker.

We are using the latest version of Adobe Photoshop CC on the latest version of OSX.
Photo of Anders Mårtensson

Anders Mårtensson

  • 4 Posts
  • 0 Reply Likes

Posted 5 years ago

  • 1
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 823 Reply Likes
The OS color pickers are modal and cannot return values until you commit their dialogs.
And color picker plugins are similar in that regard - last time I checked they only returned a value once when they dismiss their UI.
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 14665 Posts
  • 1952 Reply Likes