When opening a JUCE dialog, I’m setting initial focus to its first child component. I’m not doing anything special - the JUCE FocusTraverser takes care of it, and it works fine for the most part.
However, it doesn’t work consistently if the first child component happens to be an editable combobox (ie. a combobox with a built-in text editor).
If the first component is an editable label, the label’s text editor is shown and it receives focus, ready for you to type in.
But if it’s an editable combobox, the combobox gets focused, but its text editor is not shown. If you tab away from the combobox, and then Shift-Tab back to it, its text editor is shown and focused correctly.
As I say, it’s only a problem with editable comboboxes that receive focus when a dialog is first shown. It’s clear there’s a problem because manually focusing it afterwards results in its text editor showing correctly.
Can this be fixed if confirmed, please?
ps. I’m testing on Windows, and the combobox is set as editable with a single click.