Well, as I said, your expectations are met if the sidebar _contents_ or one of the editors was what was focussed before you switched to the file manager. But for the reasons I explained above the focus is deliberately not moved from any other widget so its not really a bug or feature, and "invalid" is the only label we have to say that.