[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: [PATCH] Always hide completion hint
From: Andras Mantia <amantia () kde ! org>
Date: 2005-11-18 14:56:24
Message-ID: 200511181656.24793.amantia () kde ! org
[Download RAW message or body]
Hi,
Since I a bug was fixed - that I reported ;-) - regarding the behavior
of the Kate part, a new bug was introduced again: the completion hint
label does not disappear if the user clicks on the document area with
the mouse, thus you will remain with a floating tooltip label on your
screen. If you don't know how to make it disappear the one and only
way, you can get rid of it only by restarting KDE. I got already
several reports, so I think it is urgent to commit the below patch.
Andras
--
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
["katecodecompletion.cpp.diff" (text/x-diff)]
Index: katecodecompletion.cpp
===================================================================
--- katecodecompletion.cpp (revision 480636)
+++ katecodecompletion.cpp (working copy)
@@ -164,15 +164,16 @@
o != m_completionListBox->viewport() )
return false;
-/* Is this really needed? abortCompletion will hide this thing,
- aborting here again will send abort signal even on successfull completion
if( e->type() == QEvent::Hide )
- {
- abortCompletion();
+ {
+ //don't use abortCompletion() as aborting here again will send abort signal \
even on successfull completionwe will emit completionAborted() twice... + \
m_completionPopup->hide(); + delete m_commentLabel;
+ m_commentLabel = 0;
return false;
}
-*/
+
if ( e->type() == QEvent::MouseButtonDblClick ) {
doComplete();
return false;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic