Hey, I finally got around to nail the bug down. Here's the report: https://bugzilla.novell.com/show_bug.cgi?id=493047
Alan McGovern-2 wrote: > > Hey, > > Well, if there's a bug then please try to reduce the testcase as much as > possible before submitting it. If you can't it's still worth filing a bug > and giving as much detail as you can. > > If its working on .NET but not Mono that's not a good sign. I was >> afraid of something like this. > > > If there is an issue with a specific method, there are generally other > ways > of accomplishing exactly the same task. Sometimes all you need to do is > use > a different overload of the same method. For example here are two > alternate > methods of copying a bitmap, both of which are probably higher performance > and both are definitely less bug prone: > > http://msdn.microsoft.com/en-us/library/aa457087.aspx > > So if you do encounter any issues, please file bug reports so they can be > dealt with for the next release. > > Alan. > >> >> >> >> Stifu wrote: >> > >> > I found a certain GDI+ bug recently, and I *think* it's related to >> > LockBits(). I'm not sure, and didn't report the bug as I couldn't make >> a >> > reduced test case yet. However, if you're interested, I can send you my >> > not-so-reduced test case so you can have a look. >> > >> > But to sum things up: I have a Bitmap, try to clone it, and the cloned >> > Bitmap is all black... while this works fine with .NET. >> > >> > >> > LKeene wrote: >> >> >> >> Hello all, I have a general question regarding the use of LockBits() >> (in >> >> GDI+) for reading/writing to a bitmap. I'm using Mono 2.2 and am >> >> targeting Windows, OSX and Linux. Any current issues concerning the >> use >> >> of LockBits()/UnlockBits() I should be aware of? Any nasty buggies I >> >> should be on the lookout for? I found a few posts pertaining to this >> but >> >> they're not very current. >> >> >> >> Thanks eveyone. >> >> >> >> -L >> >> >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/LockBits%28%29-on-Mono-2.2--tp22611389p22611603.html >> Sent from the Mono - General mailing list archive at Nabble.com. >> >> _______________________________________________ >> Mono-list maillist - [email protected] >> http://lists.ximian.com/mailman/listinfo/mono-list >> > > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list > > -- View this message in context: http://www.nabble.com/LockBits%28%29-on-Mono-2.2--tp22611389p22946015.html Sent from the Mono - General mailing list archive at Nabble.com. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
