Bug 358499 - Popups like "Problem in Semantic Analysis" doesn't disappear when it should
Summary: Popups like "Problem in Semantic Analysis" doesn't disappear when it should
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.90.91
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: 5.0.0
Assignee: kdevelop-bugs-null
URL:
Keywords: release_blocker
: 359718 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-01-24 19:34 UTC by David Faure
Modified: 2016-06-14 23:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Faure 2016-01-24 19:34:04 UTC
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.
Comment 1 David Faure 2016-01-24 19:36:09 UTC
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.
Comment 2 Milian Wolff 2016-01-24 20:20:51 UTC
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.
Comment 3 Kevin Funk 2016-03-01 06:57:44 UTC
*** Bug 359718 has been marked as a duplicate of this bug. ***
Comment 4 Aleix Pol 2016-06-14 20:30:20 UTC
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