Closed Bug 460644 Opened 16 years ago Closed 16 years ago

black triangles when rendering svg

Categories

(Core :: Graphics, defect, P1)

x86
All
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: michael.gruenewald, Assigned: jrmuizel)

References

()

Details

(Keywords: regression)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)

Sometimes when loading an svg file, the svg is rendered with some black triangles which are not in the svg. This does only seem to happen when I load the file the first time or when I fully reload (Ctrl+F5) it. After a fast refresh (F5) everything seems to be ok.

Reproducible: Sometimes

Steps to Reproduce:
open or fully reload: http://upload.wikimedia.org/wikipedia/commons/9/91/BerlinDistricts_new.svg
Actual Results:  
some black triangles not in the svg file appear

Expected Results:  
correct rendering
Confirmed with latest trunk on Windows XP.
Status: UNCONFIRMED → NEW
Component: General → Layout: View Rendering
Ever confirmed: true
Product: Firefox → Core
QA Contact: general → layout.view-rendering
Version: unspecified → Trunk
Works: 2008021322
Fails: 2008021323

Regression window: http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&date=explicit&mindate=2008-02-13+21%3A00&maxdate=2008-02-14+00%3A00
So this could be caused by Bug 416018.
This is also reproducible on a much faster Windows Vista with a different video card so it is not a slow computer's problem.
Blocks: 416018
Component: Layout: View Rendering → GFX: Thebes
Flags: blocking1.9.1?
Keywords: regression
QA Contact: layout.view-rendering → thebes
Jeff, can you take a look at this?
Assignee: nobody → jmuizelaar
I can reproduce this on recent Hg-based builds on Linux on two different systems, like [Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b2pre) Gecko/20081022 SeaMonkey/2.0a2pre] and [Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b2pre) Gecko/20081022 Minefield/3.1b2pre], so this should probably be OS=All.

To see it I load the URL given and scroll around a bit, then lots of long black spikes appear. Once I cover that window with another one, the spikes/triangles disappear.
OS: Windows XP → All
I put a smaller test case up at: http://people.mozilla.com/~jmuizelaar/BerlinDistricts-check.svg

I took out all the paths that didn't seem to cause any problems and was left with a bunch dashed paths with tiny dashes. (The bad rendering shows up red this time.)

It looks like the bug might be related to the leaky-dash test case in the cairo test suite...
Possibly similar to bug 418901 then?
Flags: blocking1.9.1? → wanted1.9.1+
Priority: -- → P1
This is now fixed in upstream cairo thanks to 22e2dac819de3c082424ebf3ce8f64c9c4797e8a.
No longer seems reproducible with the latest hourly:

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b2pre) Gecko/20081106 Minefield/3.1b2pre
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.