[Mono-winforms-list] Winforms regression with mono 3.2.3

Baltasar García Perez-Schofield baltasarq at gmail.com
Thu Oct 10 13:04:00 UTC 2013


	Hi,

> This is on Windows. The WinForms app worked with Mono 2.10, but no longer
> with 3.2.3.

Too bad that no one (at Xamarin) answered this bug report yet.
I hope that only means it is fixed.

Well, the first step, just to be sure, is to check out that actually nothing in your code is using something in Mono that is not implemented.

You can use Moma for that:

http://www.mono-project.com/MoMA

> I guess this affects pretty much all WinForms apps, but if not, I'm trying
> to run this app: https://code.google.com/p/epicedit/
> Is this a known issue?

I've downloaded your app, and I can confirm it runs under Mono 2.10.8.1, in Lubuntu Linux, apart form minor annoyances suchas de tools dialog (too small).

Also applied Moma to your application, and this is the result:

==
Calling Method	Method with [MonoTodo]	Reason

void DrawImage (Graphics, Bitmap, int)
void Graphics.set_PixelOffsetMode (PixelOffsetMode)
This property does not do anything when used with libgdiplus.

void DrawTileset (Graphics)
void Graphics.set_PixelOffsetMode (PixelOffsetMode)
This property does not do anything when used with libgdiplus.

void DrawTileset (Graphics, Image, Size, int, byte)
void Graphics.set_PixelOffsetMode (PixelOffsetMode)
This property does not do anything when used with libgdiplus.

void SetGraphics (Graphics)
void Graphics.set_PixelOffsetMode (PixelOffsetMode)
This property does not do anything when used with libgdiplus.

void DrawTrackObjects (Graphics, TrackObject, bool)
void Graphics.set_PixelOffsetMode (PixelOffsetMode)
This property does not do anything when used with libgdiplus.

void UpdateTile (Theme, byte, byte)
void Graphics.set_PixelOffsetMode (PixelOffsetMode)
This property does not do anything when used with libgdiplus.

void InitBasicColorsBitmapCache ()
void Graphics.set_PixelOffsetMode (PixelOffsetMode)
This property does not do anything when used with libgdiplus.

void InitShadesCache ()
void Graphics.set_PixelOffsetMode (PixelOffsetMode)
This property does not do anything when used with libgdiplus.
==

It seems you're using some calls that are not implemented. Don't know, though, whether this is enough to justify your app not working in Mono 3, as it perfectly works in Mono 2.10.

If you want to check out whether this problem affects all WinForms applications or not, try downloading:
http://baltasarq.info/dev/pgcal/

(just a Zip with a .NET exe inside)

Hope this, somehow, helps.

-- 
Baltasar (baltasarq at gmail.com  http://baltasarq.info/)


More information about the Mono-winforms-list mailing list