[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.2/kdelibs/khtml
From:       Germain Garand <germain () ebooksfrance ! org>
Date:       2009-04-02 20:13:49
Message-ID: 1238703229.297111.30711.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 948348 by ggarand:

automatically merged revision 947498:
We want the pop up delay of web tooltips to be constant.

Qt's behaviour of having a first tooltip at 700ms and following ones at
20ms is undesirable on the web where lingering over elements isn't
necessarily a call for more information.

 M  +4 -1      khtmlview.cpp  


--- branches/KDE/4.2/kdelibs/khtml/khtmlview.cpp #948347:948348
@@ -559,7 +559,10 @@
             }
             node = node->parentNode();
         }
-        return true;
+        // Qt makes tooltip events happen nearly immediately when a preceding one \
was processed in the past few seconds. +        // We don't want that feature to \
apply to web tootlips however, as it clashes with dhtml menus. +        // So we'll \
just pretend we did not process that event. +        return false;
     }
 
     case QEvent::DragEnter:


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic