That popup remains visible when switching to another virtual desktop using a key shortcut (in my case Alt+PageUp). Reproducible: Always Steps to Reproduce: 1. Type QMetaObject::inv 2. Wait until QMetaObject is underlined, click into it 3. The popup "Problem in Semantic Analysis, No type named inv in QMetaObject" appears 4. I press the shortcut to switch desktops (Alt+PageUp), the popup stays up. With Ctrl+F1 it works, so it seems "release Ctrl" is hardcoded as a way to hide the popup (although Alt+Tab works too). I think focus-out should hide it too.
Also, it doesn't go away on Key_Escape. Shouldn't that hide it too? And if I type another letter (e.g. Key_End followed by 'o' to start writing the rest of "invokeMethod"), shouldn't that hide the semantic analysis popup? Go away, I'm fixing it. Otherwise I end up with that popup plus the completion popup on top of each other, it's just too much.
I can't trigger the "it doesn't hide on focus loss" issue, for me opening e.g. yakuake (f12) or alt-tabbing out of the window works. Interestingly, it doesn't hide when I switch to another editor view via ctrl + tab ;-) So there's certainly something broken in that regard. I also agree that it should get hidden on escape. Hiding it immediately when typing should also happen, this is btw. already the case for "normal" popups we use to show non-problematic code browsing information.
*** Bug 359718 has been marked as a duplicate of this bug. ***
Git commit 55d59f3cfeef2639020cdd4dcd1400f916bfef3a by Aleix Pol. Committed on 14/06/2016 at 13:25. Pushed by apol into branch '5.0'. Make sure the context browser is hidden when the window is deactivated M +1 -1 plugins/contextbrowser/browsemanager.cpp http://commits.kde.org/kdevplatform/55d59f3cfeef2639020cdd4dcd1400f916bfef3a