[Wayland-bugs] [Bug 774065] Entry completion drop-down is misplaced on external monitor when on Wayland

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Wed Jan 31 06:41:29 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=774065

Jonas Ådahl <jadahl at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #366086|none                        |reviewed
             status|                            |

--- Comment #10 from Jonas Ådahl <jadahl at gmail.com> ---
Review of attachment 366086:

Thanks a lot for this! Here is some review:

Have this been tested on both input grabbing and not input grabbing entry
completion? Do we have test cases for both kinds?

Another question is how this deals with entry completion windows being moved,
as move_to_rect() can't deal with moving visible windows right now. Do we have
test cases for that? Do we even support that?

Lastly, for the future, please attach patches generated from "git format-patch"
with commit message and author information.

::: gtk/gtkentrycompletion.c
@@ +609,3 @@
   priv->popup_window = gtk_window_new (GTK_WINDOW_POPUP);
+  /* Using subsurface prevents gdk_window_move_to_rect from working */
+  /* gtk_window_set_use_subsurface (GTK_WINDOW (priv->popup_window), TRUE); */

We should just remove this, not comment it out.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20180131/37ff5fdd/attachment.html>


More information about the wayland-bugs mailing list