[Mono-winforms-list] DrawImage alpha blend broken in libgdiplus

Sebastien Pouliot sebastien.pouliot at gmail.com
Thu Apr 9 12:45:30 EDT 2009


On Thu, 2009-04-09 at 18:22 +0300, Alex Shulgin wrote:
> Sebastien Pouliot wrote:
> > Hello Alex,
> > 
> > The patch looks good. However this kind of fix has been known to cause
> > regression in the past. 
> > 
> > Could you supply unit tests that ensure that the image can be saved and
> > reloaded correctly ? (modifying your previous sample code should be
> > easy).
> > 
> > With this (and if all existing tests pass successfully) I'll be able to
> > commit your patch.
> 
> Hi Sebastien,
> 
> Thanks for your reply!
> 
> I'm trying to run the tests in mcs/class/System.Drawing/Test under 
> MonoDevelop and I have 144 failing tests (out of 1377) to begin with...
> 
> Is this normal situation or my system is severely broken?

It's definitively not normal. 

It could be some path issues since some tests depends on external files
(and MD compiled output could be at the "wrong" place). 

> I'm on x86 Ubuntu 8.10 with the following packages freshly built from svn:
> 
> libgdiplus
> mono
> mcs
> gtk-sharp
> mono-addins
> monodevelop
> 
> The number of failing tests doesn't change if I apply my patch to 
> libgdiplus, though.
> 
> How do I proceed?

You can try a "make run-test" at the prompt.

If that works (or you can't make it work) then email a patch with the
new test(s) and I'll try it on my box.

Thanks
Sebastien



More information about the Mono-winforms-list mailing list