RESOLVED DUPLICATE of bug 23817 36604
[Qt] Clip test case failure (X11 paintengine)
https://bugs.webkit.org/show_bug.cgi?id=36604
Summary [Qt] Clip test case failure (X11 paintengine)
qi
Reported 2010-03-25 08:56:33 PDT
Attachments
Laszlo Gombos
Comment 1 2010-03-25 09:02:49 PDT
According to Qi, a failure on http://www.netzgesta.de/reflex/ from bug 26256 could be related. Let's keep it in scope until it is proven otherwise.
Dirk Schulze
Comment 2 2010-03-26 04:42:35 PDT
I can confirm this. It's an old issue. IIRC it was related to problems with the XServer.
qi
Comment 3 2010-03-26 13:13:46 PDT
I found two issues on this case, but somehow we need 23817 fix first. So currently I can't check in my fix for this case. 1> At CanvasRenderingContext2D::clip(), we suppose to call m_path.closeSubpath(); This is based on spec "Open subpaths must be implicitly closed when computing the clipping region" 2> At GraphicsContextQt.cpp clearRect(), we suppose to calculate the intersection between rect and cliprect. This is based on spec "..must clear the pixels in the specified rectangle that also intersect the current clipping region to a fully transparent black..."
Simon Hausmann
Comment 4 2010-03-28 01:54:19 PDT
Indeed, some platform information is needed here. It works for me with -graphicssystem raster, but it doesn't work for me with the x11 painting backend. Qi, what platform do you see this failure on? I think it would be good to create a platform independent trace - using the trace graphics system. Then we can file this as a bug against Qt, which it most likely is.
qi
Comment 5 2010-03-29 06:01:37 PDT
I am working on X11.
Andreas Kling
Comment 6 2010-11-20 21:41:53 PST
*** This bug has been marked as a duplicate of bug 23817 ***
Note You need to log in before you can comment on or make changes to this bug.