I have been using codeblocks for some time for C++ projects and recently something happened and when codeblocks opens, the main window is not visible. It can bee seen when I go to full screen or when I right-click the codeblocks application in my dock and select show all windows, but once I press it, it disappears again.
I believe the issue may have something to do with a second monitor I used. I recently started using a second monitor and I feel as if the codeblocks window is "sitting" in this imaginary window when the second monitor isn't even plugged in.