Unity window or layout bug

I just came across an annoying bug which could or could not be my own doing. Apparently, Unity opens a two windows, One is blank and one is for the editor itself. They both seemed to be linked though,for example if you were to try and add a component on the window with the editor, the gui would appear on the blank window.This started happening after i got an error, while in the editor, about my layout failing to load after I tried to revert to default layout settings.Also,closing the inspector tab does not work it shows failed to load as the tab title.I can get used to it but its annoying.You ask any more questions about my situation if i was not clear or you need to no something.

I have had the same problem.
Go to Window → Layouts → Revert Factory Settings…
This fixed it for me.
This seems weird, because when the problem happened, there was this popup, that allowed me to revert to the standard layout, which did not fix the problem. So it has to be done via the normal menu, not the popup…
I hope this helps you.

Thks I will try