[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
commit-queue at webkit.org
commit-queue at webkit.org
Wed Dec 22 16:37:04 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 99e7567373588d4c5ecf9a192290b593a8b4659d
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Mon Nov 29 11:50:17 2010 +0000
2010-11-29 Carlos Garcia Campos <cgarcia at igalia.com>
Reviewed by Xan Lopez.
[GTK] Tooltips not shown when scrolling
https://bugs.webkit.org/show_bug.cgi?id=50143
Convert tooltip area to window coordinates so that tooltips are
shown even after scrolling.
* WebCoreSupport/ChromeClientGtk.cpp:
(WebKit::ChromeClient::mouseDidMoveOverElement):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72787 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/gtk/ChangeLog b/WebKit/gtk/ChangeLog
index 4cf9b18..c1ab250 100644
--- a/WebKit/gtk/ChangeLog
+++ b/WebKit/gtk/ChangeLog
@@ -1,3 +1,16 @@
+2010-11-29 Carlos Garcia Campos <cgarcia at igalia.com>
+
+ Reviewed by Xan Lopez.
+
+ [GTK] Tooltips not shown when scrolling
+ https://bugs.webkit.org/show_bug.cgi?id=50143
+
+ Convert tooltip area to window coordinates so that tooltips are
+ shown even after scrolling.
+
+ * WebCoreSupport/ChromeClientGtk.cpp:
+ (WebKit::ChromeClient::mouseDidMoveOverElement):
+
2010-11-26 Carlos Garcia Campos <cgarcia at igalia.com>
Reviewed by Xan Lopez.
diff --git a/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp b/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp
index c2b6a3d..4450e87 100644
--- a/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp
+++ b/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp
@@ -31,6 +31,7 @@
#include "FileChooser.h"
#include "FloatRect.h"
#include "FrameLoadRequest.h"
+#include "FrameView.h"
#include "GtkVersioning.h"
#include "HTMLNames.h"
#include "IntRect.h"
@@ -523,7 +524,8 @@ void ChromeClient::mouseDidMoveOverElement(const HitTestResult& hit, unsigned mo
}
Node* node = hit.innerNonSharedNode();
- m_webView->priv->tooltipArea = node ? node->getRect() : IntRect();
+
+ m_webView->priv->tooltipArea = node ? node->document()->frame()->view()->contentsToWindow(node->getRect()) : IntRect();
}
void ChromeClient::setToolTip(const String& toolTip, TextDirection)
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list