Why does the highlighted text color in Xcode's Project Navigator sometimes switch to white with a blue shadow? Normally a selected item in Xcode's Project Navigator is indicated by a blue bar behind the item. However, sometimes for no apparent reason this changes to white text with a kind of very light blue drop shadow and no background color change. Does anyone know why this occurs  or how to prevent it? To fix it I always just have to restart Xcode.



I'm using Xcode 7.2.1 (7C1002) on an OSX El Capitan 10.11.3 machine.
It's just a bug which happens sometimes in Xcode, still happening in 8.1.

You don't have to restart to fix it, you can just hide and show the navigator by clicking this button twice: