Selection halo color differs


We have numerous places in our product where based upon a selection from a list, from a tree, etc., the UI will navigate to a particular canvas and select a node, scrolling the canvas to the node. The code path is always the same, but sometimes the selection halo color is the desired PimarySelectionColor, others it is NoFocusSelectionColor. What causes this, please?


Maybe some such kinds of selection are causing the GoView to lose keyboard focus, and others don’t.
If you set GoView.NoFocusSelectionColor to be the same as GoView.PrimarySelectionColor, the selection handles won’t be re-created as the view gains or loses focus.