[Wayland-bugs] [Bug 777176] [wayland] gedit killed by protocol error "Invalid anchor rectangle size"

2017-01-16 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=777176 Olivier Fourdan changed: What|Removed |Added Status|NEW |RESOLVED

[Wayland-bugs] [Bug 777176] [wayland] gedit killed by protocol error "Invalid anchor rectangle size"

2017-01-16 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=777176 Olivier Fourdan changed: What|Removed |Added Attachment #343542|accepted-commit_now |committed

[Wayland-bugs] [Bug 777176] [wayland] gedit killed by protocol error "Invalid anchor rectangle size"

2017-01-16 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=777176 Jonas Ådahl changed: What|Removed |Added Attachment #343542|none|accepted-commit_now

[Wayland-bugs] [Bug 777176] [wayland] gedit killed by protocol error "Invalid anchor rectangle size"

2017-01-16 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=777176 Olivier Fourdan changed: What|Removed |Added Attachment #343414|0 |1 is

[Wayland-bugs] [Bug 777176] [wayland] gedit killed by protocol error "Invalid anchor rectangle size"

2017-01-16 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=777176 --- Comment #10 from Jonas Ådahl --- (In reply to Olivier Fourdan from comment #9) > So which one do we push, attachment 343383 [details] [review] (with a fix in > the commit message) or attachment 343414 [details] [review] ?

[Wayland-bugs] [Bug 777176] [wayland] gedit killed by protocol error "Invalid anchor rectangle size"

2017-01-16 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=777176 --- Comment #9 from Olivier Fourdan --- So which one do we push, attachment 343383 (with a fix in the commit message) or attachment 343414 ? -- You are receiving this mail because: You are on the CC list for the

[Wayland-bugs] [Bug 777176] [wayland] gedit killed by protocol error "Invalid anchor rectangle size"

2017-01-13 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=777176 --- Comment #8 from Olivier Fourdan --- (In reply to Jonas Ådahl from comment #6) > The problem with that is that it'd be offset by 2 pixels if it flipped. Then > again, if this is supposed to open at the "|" cursor (maybe it

[Wayland-bugs] [Bug 777176] [wayland] gedit killed by protocol error "Invalid anchor rectangle size"

2017-01-13 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=777176 Olivier Fourdan changed: What|Removed |Added Attachment #343383|accepted-commit_now |none

[Wayland-bugs] [Bug 777176] [wayland] gedit killed by protocol error "Invalid anchor rectangle size"

2017-01-13 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=777176 Jonas Ådahl changed: What|Removed |Added CC||jad...@gmail.com ---

[Wayland-bugs] [Bug 777176] [wayland] gedit killed by protocol error "Invalid anchor rectangle size"

2017-01-12 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=777176 --- Comment #5 from Olivier Fourdan --- Yes, as you say, xdg-shell v6 positionner definition makes it clear that the rectangle should not be 0:

[Wayland-bugs] [Bug 777176] [wayland] gedit killed by protocol error "Invalid anchor rectangle size"

2017-01-12 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=777176 --- Comment #4 from Jonas Ådahl --- Review of attachment 343383: Wouldn't this mean we offset the popup by 1 pixel in this case? I.e. if GTK+ wants to position something against 0x0+50+50, we'd now position it at (51,51) if the

[Wayland-bugs] [Bug 777176] [wayland] gedit killed by protocol error "Invalid anchor rectangle size"

2017-01-12 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=777176 Matthias Clasen changed: What|Removed |Added Attachment #343383|none|accepted-commit_now

[Wayland-bugs] [Bug 777176] [wayland] gedit killed by protocol error "Invalid anchor rectangle size"

2017-01-12 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=777176 --- Comment #2 from Olivier Fourdan --- Created attachment 343383 --> https://bugzilla.gnome.org/attachment.cgi?id=343383=edit [PATCH] wayland: avoid 0 width/height anchor rectangle Passing a rectable with zero width or

[Wayland-bugs] [Bug 777176] [wayland] gedit killed by protocol error "Invalid anchor rectangle size"

2017-01-12 Thread gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=777176 --- Comment #1 from Olivier Fourdan --- 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