Summary: | Tint2's tooltip borders end up at 0,0 and do not disappear | ||
---|---|---|---|
Product: | xorg | Reporter: | Alexander Lam <lambchop468> |
Component: | Driver/intel | Assignee: | Chris Wilson <chris> |
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> |
Severity: | normal | ||
Priority: | high | CC: | nbowler |
Version: | git | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Description
Alexander Lam
2010-05-15 07:57:27 UTC
I've pushed: commit 524fd2dd0da8f69d4c3f5aebe3a345fe34af609d Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Sat May 15 18:23:21 2010 +0100 uxa: Apply clip for solid rectangles. References: Bug 28120 - Tint2's tooltip borders end up at 0,0 and do not disappear https://bugs.freedesktop.org/show_bug.cgi?id=28120 which is the only things that stands as being different between miCompositeRects() calling CompositePicture() and uxa_solid_rects() calling uxa_screen->composite() directly. Please test. (In reply to comment #1) > I've pushed: > > commit 524fd2dd0da8f69d4c3f5aebe3a345fe34af609d > Author: Chris Wilson <chris@chris-wilson.co.uk> > Date: Sat May 15 18:23:21 2010 +0100 > > uxa: Apply clip for solid rectangles. > I tested both up to this commit and the current one ( 89f43f69a9c854fb2b82538a8938002675ca19e4) Results are the same for both: Good News: The border doesn't get drawn at 0,0 anymore. Bad News: The whole tooltip is a black box. Also, my terminal (urxvt) now has a few drawing issues (the filled-in cursor doesn't show, and a few other random issues) Created attachment 35678 [details]
Screenshot 2
Created attachment 35838 [details]
Composited tooltip
I retested with today's xf86-video-intel ( 9d8ac271404ff219c3d40ae8f829e8b76ac7c359)
Nothing new to report with non-composited desktop.
However, I was in the mood to fire up compiz, and this is what happened (attachment).
urxvt still looks the same.
*** Bug 28236 has been marked as a duplicate of this bug. *** commit b645ec83e0d86f2247b8338ceab60b9502516e70 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Tue May 25 09:49:20 2010 +0100 uxa: Apply the drawable offset to the solid rects Fixes: Bug 28120 - Tint2's tooltip borders end up at 0,0 and do not disappear https://bugs.freedesktop.org/show_bug.cgi?id=28120 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Thank you, the tooltips are working perfectly. However, urxvt is still not drawing correctly. I still have the same issues with that as before. Here is a testcase: urxvt -fn "xft:sans-6" -depth 32 Even though I am using 32 bits, I am not running a compositing window manager (using openbox). I can confirm that urxvt corruption persists with -depth 32, but it appears to be working fine without this option. Furthermore, if I run xcompmgr, then corruption persists regardless of the -depth setting. commit 03bbb4c896ef3cd275312b413a2c85d9f499c032 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Wed May 26 10:16:36 2010 +0100 uxa: Perform manual damage for CompositeRects [xserver-1.8] The damage layer doesn't wrap CompositeRects, so we need to manually append the damaged region ourselves. This works for miCompsiteRects since that translates the call into multiple invocations of either PolyFillRectangle or Composite, which themselves cause damage. Fixes: Bug 28120 - Tint2's tooltip borders end up at 0,0 and do not disappear https://bugs.freedesktop.org/show_bug.cgi?id=28120 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.