ID 199694 - OFX plugins cannot re-enable certain knobs

Follow

Problem summary
The OFX support code uses the flag Knob::READ_ONLY to disable colour knobs instead of Knob::DISABLED. This changes the behaviour when enabling and disabling the knob; if this is modified to use Knob::DISABLED instead, the colour picker and colour wheel controls are enabled and disabled along with the colour knob.

Customer reported version
nuke.9.0v8

Customer reported platform
Windows 8.1

Steps to reproduce
On windows: Copy the plugin bundle to C:\Program Files\Common Files\OFX\Plugins
On mac: Copy the plugin bundle to /Library/OFX/Plugins

1. Import footage into nuke
2. Right click the footage and select "Sample OFX/NukeColorPickerBug"
3. Click on the "Enable Color" checkbox
This will enable the "Color" property
4. Try and use the color picker of the "Color" property.
Both the color picker button and the color wheel button next to it, remain disabled.

Reproduced by support
Yes issue was reproduced on windows 8.1

Expected behaviour
Knobs to be re-enabled

Actual behaviour
Knobs cannot be enabled after disabling them

    We're sorry to hear that

    Please tell us why