Full Width Custom Parameter
Bug
Having a full width custom parameter breaks the hover effects that are seen on any part of the row. I imagine it's due to the full width handling everything, in all honesty I have no idea.

Notice how when I hover my custom parameter view nothing appears, there is no chevron that appears, and the keyframe does not have its plus symbol either. Clicking the invisible chevron, for example, still works.
Only happens with a kFxParameterFlag_USE_FULL_VIEW_WIDTH parameter. You can still use custom ui without the flag, but will be constrained in the parameter control portion.
🫤 Workaround
I tried everything, and there is a workaround, it works, feels responsive but is hacky. Our plugin is sandboxed meaning we can't access the host easily, I can't just pass through click events programmatically by return nil on hitTest or similar, as I say I've tried everything I can think of. I do have a solution I will be taking forward as odds are Apple will not fix this in the near future.
Adding anything in that area, in my case I want to show the chevron on hover, completely breaks the clickthrough that is working initially. The workaround is to use hide the view and then use CGEventCreateMouseEvent to simulate a hardware mouse click in the exact same location. There's a slight flash but it works.

What's the catch? Accesibility permissions. User's will be prompted to enable accessibility permissions for Motion and Final Cut Pro (depending on where the plugin is running). Luckily, they only have to do this once.
Last updated

