[Wayland-bugs] [Bug 52454] [bug] Weston tooltips are incorrectly cropped

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 29 19:30:10 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=52454

--- Comment #4 from Scott Moreau <oreaus at gmail.com> ---
Created attachment 69268
  --> https://bugs.freedesktop.org/attachment.cgi?id=69268&action=edit
patch

(In reply to comment #3)
> I'm still able to reproduce this issue using cairo-image on today's master
> bits (I have not tried with cairo-egl).

I was able to reproduce this with --with-cairo-glesv2 and decided to look into
it. The problem is that window->cairo_surface is NULL when get_text_extents()
is called because this surface is destroyed on attach, for the shm path. I've
attached a patch to fix the problem. I'm not sure if it's correct since I'm not
sure why cairo_surface is destroyed on the shm path only.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20121030/f02ac03a/attachment.html>


More information about the Wayland-bugs mailing list