I have a tabbed component which has three group components as its only children. At some point, I disable these group components. If I click on one of these groups while it’s disabled, I get a stack overflow.
The problem is in Component::grabFocusInternal(). It tries to select a child component, but none are enabled, so it recurses into the parent to find a suitable sibling. In there, it chooses the “most interested” child, which is the tabbed component, and recurses into it to find its most interested child. None of the children are enabled, so it recurses to the parent, tab, parent, tab, … BOOM!
I can probably get around this by disabling the contents of the groups, rather than the groups themselves, but I thought I’d point out this issue.