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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 30 11:12:30 PDT 2012


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

--- Comment #6 from Scott Moreau <oreaus at gmail.com> ---
(In reply to comment #5)
> (In reply to comment #4)
> > Created attachment 69268 [details] [review] [review]
> > 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.
> 
> Yeah, I think this is a good fix.  I thought we relies on the surface being
> destroyed after flush, but that's obviously not how the EGL surface works. 
> Your patch brings the two backends closer in how they work and fix the
> problem... let's go with that.  Mind sending it to the list?

Sure, the patch has been sent to the list.

-- 
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/d2f91758/attachment.html>


More information about the Wayland-bugs mailing list