[Wayland-bugs] [Bug 777176] [wayland] gedit killed by protocol error "Invalid anchor rectangle size"
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Thu Jan 12 17:09:31 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=777176
--- Comment #1 from Olivier Fourdan <ofourdan at redhat.com> ---
gtk+ passes an invalid rect with a width of 0 to set_anchor_rect() which
triggers a Wayland protocol error.
That rect comes from pango, from:
-> popup_targets_received() in gtk+/gtk/gtktextview.c
-> gtk_text_view_get_iter_location()
-> gtk_text_layout_get_iter_location()
...
3022 pango_layout_index_to_pos (display->layout, byte_index, &pango_rect);
3023
3024 rect->x = PANGO_PIXELS (x_offset + pango_rect.x);
3025 rect->y += PANGO_PIXELS (pango_rect.y) + display->top_margin;
3026 rect->width = PANGO_PIXELS (pango_rect.width);
3027 rect->height = PANGO_PIXELS (pango_rect.height);
--
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/20170112/96225fca/attachment.html>
More information about the wayland-bugs
mailing list