Title: [247719] trunk/Source/WebKit
Revision
247719
Author
[email protected]
Date
2019-07-23 00:11:42 -0700 (Tue, 23 Jul 2019)

Log Message

[GTK] Emoji chooser is misplaced after scrolling
https://bugs.webkit.org/show_bug.cgi?id=199996

Reviewed by Michael Catanzaro.

Convert caret rectangle coordinates to root view.

* WebProcess/WebPage/gtk/WebPageGtk.cpp:
(WebKit::WebPage::showEmojiPicker):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (247718 => 247719)


--- trunk/Source/WebKit/ChangeLog	2019-07-23 04:14:23 UTC (rev 247718)
+++ trunk/Source/WebKit/ChangeLog	2019-07-23 07:11:42 UTC (rev 247719)
@@ -1,3 +1,15 @@
+2019-07-23  Carlos Garcia Campos  <[email protected]>
+
+        [GTK] Emoji chooser is misplaced after scrolling
+        https://bugs.webkit.org/show_bug.cgi?id=199996
+
+        Reviewed by Michael Catanzaro.
+
+        Convert caret rectangle coordinates to root view.
+
+        * WebProcess/WebPage/gtk/WebPageGtk.cpp:
+        (WebKit::WebPage::showEmojiPicker):
+
 2019-07-22  Ross Kirsling  <[email protected]>
 
         Unreviewed non-unified build fix.

Modified: trunk/Source/WebKit/WebProcess/WebPage/gtk/WebPageGtk.cpp (247718 => 247719)


--- trunk/Source/WebKit/WebProcess/WebPage/gtk/WebPageGtk.cpp	2019-07-23 04:14:23 UTC (rev 247718)
+++ trunk/Source/WebKit/WebProcess/WebPage/gtk/WebPageGtk.cpp	2019-07-23 07:11:42 UTC (rev 247719)
@@ -200,7 +200,7 @@
         if (!result.isEmpty())
             frame->editor().insertText(result, nullptr);
     };
-    sendWithAsyncReply(Messages::WebPageProxy::ShowEmojiPicker(frame.selection().absoluteCaretBounds()), WTFMove(completionHandler));
+    sendWithAsyncReply(Messages::WebPageProxy::ShowEmojiPicker(frame.view()->contentsToRootView(frame.selection().absoluteCaretBounds())), WTFMove(completionHandler));
 }
 
 void WebPage::effectiveAppearanceDidChange(bool useDarkAppearance, bool useInactiveAppearance)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to