pablosantosluac@terra.es | 2 Nov 2009 10:07
Picon
Favicon

MWF on OpenBSD

Hi,

This weekend I spent some time setting up an OpenBSD 4.6 port, and
installing the mono 2.5 port. To be honest it was straightforward.

My question is: I was able to start up our MWF application, but it
crashed after a few clicks.

Could be that the default (and ancient) fvwm Window Manager is the one
causing the problem?

Thanks,

	pablo
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Stifu | 3 Nov 2009 10:27
Picon
Favicon
Gravatar

Re: Diffrences in mono and winforms


"Differences between Mono and WinForms" is misleading. It would be more like
"differences between .NET WinForms and Mono WinForms", or simply "Bugs in
the Mono WinForms implementation" (although there are also bugs in .NET
WinForms, those will probably never be fixed).

Anyway, having a look at all the opened WinForms bugs in Mono could be a
good start:

https://bugzilla.novell.com/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&long_desc_type=fulltext&long_desc=&classification=Mono&product=Mono%3A+Class+Libraries+&component=Windows.Forms&bug_file_loc_type=allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=anywords&keywords=&bug_status=NEW&bug_status=ASSIGNED&bug_status=NEEDINFO&bug_status=REOPENED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailqa_contact2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Importance&field0-0-0=noop&type0-0-0=noop&value0-0-0=

P4w3l wrote:
> 
> Hello 
> I'm writing article about differences between mono and windows form. Can
> anybody give me a clue what is not working properly in mono . Maybe
> somebody can say what code will work in original .net and what part of
> code must by changed to work properly in mono.
> 
> 
> 

--

-- 
View this message in context: http://old.nabble.com/Diffrences-in-mono-and-winforms-tp26159954p26160036.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

(Continue reading)

Tom Hindle | 16 Nov 2009 20:46
Favicon

Re: [PATCH] Re: [Mono-dev] Input method context switch

Any comments on this small patch :) ?

Thanks
Tom

On Thu, 2009-11-12 at 16:55 -0700, Tom Hindle wrote:
> Cross posting as this belongs on the mono-winforms list.
> 
> Attaching patch for review.
> 
> Thanks
> Tom
> 
> On Tue, 2009-11-03 at 16:50 +0700, Tim Armstrong wrote:
> > Hi mono team,
> > in developing software for linguistic applications our team recently 
> > developed a patch for the SCIM input method manager that allows us to 
> > programmatically change the selected Input Method (IM). The key idea is 
> > that when a user switches from a textbox that expects English input to, 
> > say, a textbox that expects Thai, the Input Method is automatically 
> > switched.
> > We do this switch in the OnEnter eventhandler. Unfortunately, it seems 
> > that the X Input Context is switched AFTER the OnEntry event is fired. 
> > As a result we end up switching the IM for the previous context (ie the 
> > English textbox) rather than the new one (ie the Thai textbox). Can you 
> > give any insight into this behavior or do have any thoughts?
> > Thanks,
> > Tim
> > _______________________________________________
> > Mono-devel-list mailing list
(Continue reading)

Dimitris Karantonis | 18 Nov 2009 11:05

Using Windows Forms over Linux

Hi to all,

 

I am new to .net development over Linux platforms (I have always used MS Visual Studio platform) and I would like to ask what is the best way of implementing a Window Forms application in order to be able to deploy it on both Windows and Linux OS.

 

1)      Should i use MS visual Studio 2008 on my Windows Machine to develop the application and then use some tool in order to migrate  the application to the Mono format?

2)      Should i use a Mono plug-in for the MS Visual Studio platform and develop the application?

3)      Should I use MonoDevelop on my Linux machine and install the Win Forms Designer toolkit?

 

Could you give me some advices concerning what is the best way to follow and some instructions of how to implement it (meaning, instructions of how to install and use the Visual Studio – Mono migration tool, the Mono plug-in for VS Studio and the Win Forms Designer toolkit on MonoDevelop.

 

Best regards,

Dimitris

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
Petit Eric | 18 Nov 2009 11:28
Picon

Re: Using Windows Forms over Linux

To write MonoOSC, i used VS C# express to design my winforms and
generate needed event (through an VBox machine) and then i wrote all
code/class with MonoDevelop under Linux :-)

2009/11/18 Dimitris Karantonis <dkarantonis <at> soft4real.com>:
> Hi to all,
>
>
>
> I am new to .net development over Linux platforms (I have always used MS
> Visual Studio platform) and I would like to ask what is the best way of
> implementing a Window Forms application in order to be able to deploy it on
> both Windows and Linux OS.
>
>
>
> 1)      Should i use MS visual Studio 2008 on my Windows Machine to develop
> the application and then use some tool in order to migrate  the application
> to the Mono format?
>
> 2)      Should i use a Mono plug-in for the MS Visual Studio platform and
> develop the application?
>
> 3)      Should I use MonoDevelop on my Linux machine and install the Win
> Forms Designer toolkit?
>
>
>
> Could you give me some advices concerning what is the best way to follow and
> some instructions of how to implement it (meaning, instructions of how to
> install and use the Visual Studio – Mono migration tool, the Mono plug-in
> for VS Studio and the Win Forms Designer toolkit on MonoDevelop.
>
>
>
> Best regards,
>
> Dimitris
>
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>
>

--

-- 
 Cordially.

 Small Eric Quotations of the days:
 ---------------------------------------------------------------------------
 I have no special talents. I am only passionately curious
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Robert Jordan | 18 Nov 2009 13:14
Picon
Gravatar

Re: Using Windows Forms over Linux

Dimitris Karantonis wrote:
> Hi to all,
> 
>  
> 
> I am new to .net development over Linux platforms (I have always used MS
> Visual Studio platform) and I would like to ask what is the best way of
> implementing a Window Forms application in order to be able to deploy it on
> both Windows and Linux OS.
> 
>  
> 
> 1)      Should i use MS visual Studio 2008 on my Windows Machine to develop
> the application and then use some tool in order to migrate  the application
> to the Mono format?

You don't need to "migrate to Mono format" because you can use
the assemblies produced by VS under Linux.
So (1) is definitely an option.

> 
> 2)      Should i use a Mono plug-in for the MS Visual Studio platform and
> develop the application?

Do you mean this tool: http://go-mono.com/monovs/?
It's the most convenient way.

Robert

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Petit Eric | 18 Nov 2009 18:08
Picon

Re: Using Windows Forms over Linux

2009/11/18 Dimitris Karantonis <dkarantonis <at> soft4real.com>:
> Hi,
>
> This is an interesting solution, but does it actually works? And what about
> maintenance through the application's lifecycle? Meaning, how do you handle
> situations when you want to add a new event?
It work, i don't really practice it for professional, most for hobbies.
I often hack by the hand the .Designer.cs file, rather restart a VM.

>
> Does Mono opens Visual Studio solutions and furthermore, does it compile
> Window Forms properties like anchoring, docking, etc...
Compile is most good
>
> What about installing Win Forms Designer kit on your MonoProject IDE? Have
> you ever thought of this?
I would like a winforms designer in MonoDevelop, Ivanz started working
on it but ....
http://www.mono-project.com/WinForms_Designer
http://www.mono-project.com/WinForms
http://www.mono-project.com/Guide:_Porting_Winforms_Applications
http://www.mono-project.com/Category:WinForms
>
> Regards,
> Dimitris
>
>
> -----Original Message-----
> From: Petit Eric [mailto:surfzoid <at> gmail.com]
> Sent: Τετάρτη, 18 Νοεμβρίου 2009 12:28
> To: Dimitris Karantonis
> Cc: Mono-winforms-list <at> lists.ximian.com
> Subject: Re: [Mono-winforms-list] Using Windows Forms over Linux
>
> To write MonoOSC, i used VS C# express to design my winforms and generate
> needed event (through an VBox machine) and then i wrote all code/class with
> MonoDevelop under Linux :-)
>
> 2009/11/18 Dimitris Karantonis <dkarantonis <at> soft4real.com>:
>> Hi to all,
>>
>>
>>
>> I am new to .net development over Linux platforms (I have always used
>> MS Visual Studio platform) and I would like to ask what is the best
>> way of implementing a Window Forms application in order to be able to
>> deploy it on both Windows and Linux OS.
>>
>>
>>
>> 1)      Should i use MS visual Studio 2008 on my Windows Machine to
>> develop the application and then use some tool in order to migrate
>> the application to the Mono format?
>>
>> 2)      Should i use a Mono plug-in for the MS Visual Studio platform
>> and develop the application?
>>
>> 3)      Should I use MonoDevelop on my Linux machine and install the
>> Win Forms Designer toolkit?
>>
>>
>>
>> Could you give me some advices concerning what is the best way to
>> follow and some instructions of how to implement it (meaning,
>> instructions of how to install and use the Visual Studio - Mono
>> migration tool, the Mono plug-in for VS Studio and the Win Forms Designer
> toolkit on MonoDevelop.
>>
>>
>>
>> Best regards,
>>
>> Dimitris
>>
>> _______________________________________________
>> Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>>
>>
>
>
>
> --
>  Cordially.
>
>  Small Eric Quotations of the days:
>  ---------------------------------------------------------------------------
>  I have no special talents. I am only passionately curious
>
>
>

--

-- 
 Cordially.

 Small Eric Quotations of the days:
 ---------------------------------------------------------------------------
 I have no special talents. I am only passionately curious
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
StApostol | 18 Nov 2009 18:25
Picon

Re: Using Windows Forms over Linux

Frankly, the best way to create a cross-platform GUI is to use GTK# from the beginning. With WinForms, you'll encounter several issues that will make things rather difficult down the road: flaky databinding, slow rendering (especially for grid views), inconsistent rendering between versions, inconsistent ordering of events (quite, eh, fun to debug), lack of theming.

By far the best solution is to abstract the GUI away from the main application and use different technologies for different platforms (e.g. WPF on Windows, GTK# on Linux and Mac OS X). However, this takes a lot of resources and planning to implement correctly.

The second best option is to use GTK# all the way. You'll trade some of the "native" look and feel for easier development (see e.g. MonoDevelop on Windows).

The third option is to use WinForms everywhere, keeping in mind the caveats I mentioned. WinForms is not meant for cross-platform development - it has no native look and feel (unless you create custom widgets for everything, which is certainly an option) and it is painful even on Windows (try using native Vista fonts, for example or creating a DPI-independent GUI - that's right, you can't really do that). Finally, it's a pretty much dead technology that hasn't been updated in the last 5 years. (Yes, there are still good reasons for using it, as long as you keep the drawbacks in mind).

Finally, it might be worth checking out Silverlight/Moonlight. These have a pretty nice development environment and can be used both online and offline (with a little work).

My 2cc :)

2009/11/18 Petit Eric <surfzoid <at> gmail.com>
2009/11/18 Dimitris Karantonis <dkarantonis <at> soft4real.com>:
> Hi,
>
> This is an interesting solution, but does it actually works? And what about
> maintenance through the application's lifecycle? Meaning, how do you handle
> situations when you want to add a new event?
It work, i don't really practice it for professional, most for hobbies.
I often hack by the hand the .Designer.cs file, rather restart a VM.

>
> Does Mono opens Visual Studio solutions and furthermore, does it compile
> Window Forms properties like anchoring, docking, etc...
Compile is most good
>
> What about installing Win Forms Designer kit on your MonoProject IDE? Have
> you ever thought of this?
I would like a winforms designer in MonoDevelop, Ivanz started working
on it but ....
http://www.mono-project.com/WinForms_Designer
http://www.mono-project.com/WinForms
http://www.mono-project.com/Guide:_Porting_Winforms_Applications
http://www.mono-project.com/Category:WinForms
>
> Regards,
> Dimitris
>
>
> -----Original Message-----
> From: Petit Eric [mailto:surfzoid <at> gmail.com]
> Sent: Τετάρτη, 18 Νοεμβρίου 2009 12:28
> To: Dimitris Karantonis
> Cc: Mono-winforms-list <at> lists.ximian.com
> Subject: Re: [Mono-winforms-list] Using Windows Forms over Linux
>
> To write MonoOSC, i used VS C# express to design my winforms and generate
> needed event (through an VBox machine) and then i wrote all code/class with
> MonoDevelop under Linux :-)
>
> 2009/11/18 Dimitris Karantonis <dkarantonis <at> soft4real.com>:
>> Hi to all,
>>
>>
>>
>> I am new to .net development over Linux platforms (I have always used
>> MS Visual Studio platform) and I would like to ask what is the best
>> way of implementing a Window Forms application in order to be able to
>> deploy it on both Windows and Linux OS.
>>
>>
>>
>> 1)      Should i use MS visual Studio 2008 on my Windows Machine to
>> develop the application and then use some tool in order to migrate
>> the application to the Mono format?
>>
>> 2)      Should i use a Mono plug-in for the MS Visual Studio platform
>> and develop the application?
>>
>> 3)      Should I use MonoDevelop on my Linux machine and install the
>> Win Forms Designer toolkit?
>>
>>
>>
>> Could you give me some advices concerning what is the best way to
>> follow and some instructions of how to implement it (meaning,
>> instructions of how to install and use the Visual Studio - Mono
>> migration tool, the Mono plug-in for VS Studio and the Win Forms Designer
> toolkit on MonoDevelop.
>>
>>
>>
>> Best regards,
>>
>> Dimitris
>>
>> _______________________________________________
>> Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>>
>>
>
>
>
> --
>  Cordially.
>
>  Small Eric Quotations of the days:
>  ---------------------------------------------------------------------------
>  I have no special talents. I am only passionately curious
>
>
>



--
 Cordially.

 Small Eric Quotations of the days:
 ---------------------------------------------------------------------------
 I have no special talents. I am only passionately curious
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
Carlos Alberto Cortez | 18 Nov 2009 18:39
Picon

Re: Using Windows Forms over Linux

Hey,

There are some limitations on our implementation of Windows.Forms, just as any other re-implementation can have. We provide it however, to let developers to bring their applications from .net to linux with Mono.

Now: if you are going to create a new app, then you can go with Gtk#, and that's a different story, with its own advantages/disadvantages.

Carlos.

2009/11/18 StApostol <stapostol <at> gmail.com>
Frankly, the best way to create a cross-platform GUI is to use GTK# from the beginning. With WinForms, you'll encounter several issues that will make things rather difficult down the road: flaky databinding, slow rendering (especially for grid views), inconsistent rendering between versions, inconsistent ordering of events (quite, eh, fun to debug), lack of theming.

By far the best solution is to abstract the GUI away from the main application and use different technologies for different platforms (e.g. WPF on Windows, GTK# on Linux and Mac OS X). However, this takes a lot of resources and planning to implement correctly.

The second best option is to use GTK# all the way. You'll trade some of the "native" look and feel for easier development (see e.g. MonoDevelop on Windows).

The third option is to use WinForms everywhere, keeping in mind the caveats I mentioned. WinForms is not meant for cross-platform development - it has no native look and feel (unless you create custom widgets for everything, which is certainly an option) and it is painful even on Windows (try using native Vista fonts, for example or creating a DPI-independent GUI - that's right, you can't really do that). Finally, it's a pretty much dead technology that hasn't been updated in the last 5 years. (Yes, there are still good reasons for using it, as long as you keep the drawbacks in mind).

Finally, it might be worth checking out Silverlight/Moonlight. These have a pretty nice development environment and can be used both online and offline (with a little work).

My 2cc :)

2009/11/18 Petit Eric <surfzoid <at> gmail.com>

2009/11/18 Dimitris Karantonis <dkarantonis <at> soft4real.com>:
> Hi,
>
> This is an interesting solution, but does it actually works? And what about
> maintenance through the application's lifecycle? Meaning, how do you handle
> situations when you want to add a new event?
It work, i don't really practice it for professional, most for hobbies.
I often hack by the hand the .Designer.cs file, rather restart a VM.

>
> Does Mono opens Visual Studio solutions and furthermore, does it compile
> Window Forms properties like anchoring, docking, etc...
Compile is most good
>
> What about installing Win Forms Designer kit on your MonoProject IDE? Have
> you ever thought of this?
I would like a winforms designer in MonoDevelop, Ivanz started working
on it but ....
http://www.mono-project.com/WinForms_Designer
http://www.mono-project.com/WinForms
http://www.mono-project.com/Guide:_Porting_Winforms_Applications
http://www.mono-project.com/Category:WinForms
>
> Regards,
> Dimitris
>
>
> -----Original Message-----
> From: Petit Eric [mailto:surfzoid <at> gmail.com]
> Sent: Τετάρτη, 18 Νοεμβρίου 2009 12:28
> To: Dimitris Karantonis
> Cc: Mono-winforms-list <at> lists.ximian.com
> Subject: Re: [Mono-winforms-list] Using Windows Forms over Linux
>
> To write MonoOSC, i used VS C# express to design my winforms and generate
> needed event (through an VBox machine) and then i wrote all code/class with
> MonoDevelop under Linux :-)
>
> 2009/11/18 Dimitris Karantonis <dkarantonis <at> soft4real.com>:
>> Hi to all,
>>
>>
>>
>> I am new to .net development over Linux platforms (I have always used
>> MS Visual Studio platform) and I would like to ask what is the best
>> way of implementing a Window Forms application in order to be able to
>> deploy it on both Windows and Linux OS.
>>
>>
>>
>> 1)      Should i use MS visual Studio 2008 on my Windows Machine to
>> develop the application and then use some tool in order to migrate
>> the application to the Mono format?
>>
>> 2)      Should i use a Mono plug-in for the MS Visual Studio platform
>> and develop the application?
>>
>> 3)      Should I use MonoDevelop on my Linux machine and install the
>> Win Forms Designer toolkit?
>>
>>
>>
>> Could you give me some advices concerning what is the best way to
>> follow and some instructions of how to implement it (meaning,
>> instructions of how to install and use the Visual Studio - Mono
>> migration tool, the Mono plug-in for VS Studio and the Win Forms Designer
> toolkit on MonoDevelop.
>>
>>
>>
>> Best regards,
>>
>> Dimitris
>>
>> _______________________________________________
>> Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>>
>>
>
>
>
> --
>  Cordially.
>
>  Small Eric Quotations of the days:
>  ---------------------------------------------------------------------------
>  I have no special talents. I am only passionately curious
>
>
>



--
 Cordially.

 Small Eric Quotations of the days:
 ---------------------------------------------------------------------------
 I have no special talents. I am only passionately curious
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
tom hindle | 20 Nov 2009 17:24
Favicon

Re: [PATCH] Re: [Mono-dev] Input method context switch

Updated patch attached to bugzilla entry.

https://bugzilla.novell.com/show_bug.cgi?id=557277

On Thu, 2009-11-12 at 16:55 -0700, Tom Hindle wrote:
> Cross posting as this belongs on the mono-winforms list.
> 
> Attaching patch for review.
> 
> Thanks
> Tom
> 
> On Tue, 2009-11-03 at 16:50 +0700, Tim Armstrong wrote:
> > Hi mono team,
> > in developing software for linguistic applications our team recently 
> > developed a patch for the SCIM input method manager that allows us to 
> > programmatically change the selected Input Method (IM). The key idea is 
> > that when a user switches from a textbox that expects English input to, 
> > say, a textbox that expects Thai, the Input Method is automatically 
> > switched.
> > We do this switch in the OnEnter eventhandler. Unfortunately, it seems 
> > that the X Input Context is switched AFTER the OnEntry event is fired. 
> > As a result we end up switching the IM for the previous context (ie the 
> > English textbox) rather than the new one (ie the Thai textbox). Can you 
> > give any insight into this behavior or do have any thoughts?
> > Thanks,
> > Tim
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list <at> lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


Gmane