[Mono-bugs] [Bug 362021] Shapes disappear in Asset Allocator

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 18 10:22:18 EST 2008


User mkostrzewa at novell.com added comment

Michael Dominic K. <mkostrzewa at novell.com> changed:

           What    |Removed                                         |Added
                 CC|                                                |mkostrzewa at novell.com

--- Comment #2 from Michael Dominic K. <mkostrzewa at novell.com>  2008-02-18 08:22:17 MST ---
Sebastien, I think it's something else. I can reproduce it without storyboard
(see attached test-cases). At first it looked like a bug in our arc-calculating
routines, but they seem to be fine. It rather looks like some ugly cairo
precision issue. 

At some point the arc function generates for the green pie:

cairo_curve_to (path, -69.196412, 88.761543, -104.352491, 42.158185,
-99.570289, -9.260541);
cairo_curve_to (path, -94.788087, -60.679268, -51.640632, -100.000000,
-0.000000, -100.000000);

this works. After a small slider change, it generates:

cairo_curve_to (path, -70.758440, 87.267264, -104.776529, 40.548873,
-99.459500, -10.383055);
cairo_curve_to (path, -94.142472, -61.314983, -51.208711, -100.000000,
-0.000000, -100.000000);

Which doesn't work. Note that values are almost identical. Rounding the latter
a bit makes it work again. 

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list