[Mono-dev] Mono Winforms on Mac: Clipboard patches
dat.tien.ngo at gmail.com
Wed Dec 15 14:03:38 EST 2010
Yeah I'm pretty sure those clipboard changes are meant to allow copying and
pasting between mono and mac applications, instead of just X11 applications.
I worked with Ralph briefly when he started working on patching mono and
this was one of the problems that came up. I haven't tried these patches,
but if it does work you wouldn't notice any difference if you're still only
testing between X11 applications. This would be what he meant by 'Mac native
Clipboard' and why MONO_MWF_MAC_FORCE_X11 shouldn't affect the clipboard
> I don't think you should use the MONO_MWF_MAC_FORCE_X11 flag to try these
> changes, as then you wouldn't be using the native Mac driver anymore,
> which means you wouldn't notice any changes before and after the patches,
> In the first place, as Ralph was trying to get his app to work on Mono, I
> proposed him to look into the MONO_MWF_MAC_FORCE_X11 flag, and he replied:
> "Thanks for the X11 solution tip. I tried it and it does seem more
> stable but it does not support a Mac native Clipboard which is a
> mandatory in my case."
> ----- Mail Original -----
> De: "matteo tesser" <matteo.tesser at gmail.com>
> À: "Miguel de Icaza" <miguel at novell.com>
> Cc: "Stifu" <stifu at free.fr>, mono-devel-list at lists.ximian.com
> Envoyé: Jeudi 25 Novembre 2010 00:37:15 GMT +01:00 Amsterdam / Berlin /
> Berne / Rome / Stockholm / Vienne
> Objet: Re: Mono Winforms on Mac: Clipboard patches
> I gave a first look at the clipboard patch. I applied the patch in my
> version and tried it. Honestly I have to say that I never saw
> clipboard (copy and paste) working on WinForms/OSX, and unfortunately
> I did noticed any change (but no regressions either) in the behavior
> of tests launched after the patch have been applied: this either by
> setting MONO_MWF_MAC_FORCE_X11=1 or by unsetting it.
> I want to remark that the code in the static constructor of XplatUI.cs
> tests only for the existence of the environment variable
> MONO_MWF_MAC_FORCE_X11 but not for its value: I do not now if setting
> MONO_MWF_MAC_FORCE_X11=0 is considered a valid option or not.
> I will continue to look after the other changes,
View this message in context: http://mono.1490590.n4.nabble.com/Mono-Winforms-on-Mac-Clipboard-patches-tp3053049p3089667.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list