Button clicks significantly increase cpu usage even when they do nothing. EDIT: Component clicks, not just buttons

I’m using macOS 10.13, unfortunately I currently don’t have access to Windows. I tested the plugin (vst3) in Reaper and JUCE’s plugin host, that’s what my findings so far are based on.

I just tested the same thing as standalone and as a GUI Application. In these cases, it actually seems to work as expected. Clicking on any Component does not repaint itself and its siblings when it doesn’t need to, and even setOpaque() on the button C3 even works as expected.

I’m pretty sure that is due to the host, or even due/related to the following(?):

Either way, we’ve noticed the same thing in AAX. When clicking around in our background the editor repaints itself (entirely) even though we don’t repaint from mouse activity in our AudioProcessorEditor