Clickable components steal keyboard focus

The app i’m working on, handles all key presses in a root component. Recently buttons and interactive components alike have started to steal keyboard focus preventing the handler component from receiving key presses. The app has been working fine for about a year until recently. Has something changed recently in JUCE with regards to component keyboard focus?

The keyboard focus system is so complicated and confusing, that the implementatioin is in the end pretty much based on trial and error, so its possible that the keyboard handling is broken by some change in the app implementation. Just wanted to ask if there’s some known change in JUCE.

Not sure if this is new, but showing an AlertWindow also steals focus. Is the policy that the root component needs to be calling grabKeyboardFocus all the time or should/could i configure the UI not to steal focus unless explicitly told to do so?