Bug 392396

Summary: TextPreview popup is shown even when window does not have focus
Product: [Frameworks and Libraries] frameworks-ktexteditor Reporter: Kevin Funk <kfunk>
Component: generalAssignee: Dominik Haumann <dhaumann>
Status: RESOLVED FIXED    
Severity: normal CC: christoph
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.50
Sentry Crash Report:
Attachments: Screenshot showing the issue

Description Kevin Funk 2018-03-27 08:39:15 UTC
Created attachment 111675 [details]
Screenshot showing the issue

Title says it all. 

The minimap preview popup is shown even when window does not have focus.

This behavior can be seen on Linux & Windows (the ones I've tested).
Comment 1 Kevin Funk 2018-03-27 08:41:13 UTC
Note: The desired behavior would be to *not* show the popup. There are no tooltips shown for the other widgets inside the Kate window (while inactive) either.
Comment 2 Christoph Cullmann 2018-08-16 08:28:48 UTC
We have taken a look and Dominik has some fix ready.
Comment 3 Dominik Haumann 2018-08-16 08:38:12 UTC
Git commit 190a5a845eab746dee2e69f37179dc0caf9dee1b by Dominik Haumann.
Committed on 16/08/2018 at 08:38.
Pushed by dhaumann into branch 'master'.

Show text preview only if main window is active
FIXED-IN: 5.50

M  +8    -1    src/view/kateviewhelpers.cpp

https://commits.kde.org/ktexteditor/190a5a845eab746dee2e69f37179dc0caf9dee1b