I am having a problem with Xcode. It works correctly but sometimes after a period of using it, when I ctrl + drag an element on Interface Builder autoLayout popup shows and disappears immediately. Also, when I want to set constraints manually, I can't do that, because every single click is recognized as a double click as shown in the gifs below.
I tried to find the cause of this, but I can't. To solve it I have to restart /logout every time which is annoying. I observed that in most cases this starts when I connect external monitor to my MBP and use Xcode on that screen.