I have been working on a large mixer project for quite some time. It on my display I have multiple dialogs open mix, masters, channels stip... I am using a midi controller as well. The maincontentcompoent is the mix currently with 48 channel faders, pans and buttons. This dialog can switch it;s content to display auxes or the main mix.
There is master dialog that has master fader, pan and buttons. One being the select button. When I click it the view is changed on the MainContentcomponent to reflect the mix (main on auxes) on the its display. I also have a set of buttons on the midi controller to select the mix I want see.
The strange thing is when I select a mix from the cotroller, sometimes the maincontentcomponent fails to update. The moviing faders on my controller move, but the display does not change. If I move a fader on the midi controller, I can hear the volume change so I know it work but the display still does not update. But if I simply click on the compoent, it immediately updates.
The midi message is recieived, and sent to the master component via callFunctionOnMessageThread. This function calls a function in the component called UpdateView(). This changes to view by updating each of the components on the display.
I have tried calling repaint(), tofront() other things. It appears to me like it thinks the display is hidden so it does not need to repaint the component until I click on it. I don't understand why this behaves this way. Just wondering if I am missing some operation to make this work or if there is/was bug in Juce.
Thanks if advance for any ideas or suggestsions on how to fix or diagnose the problem.