[Mono-dev] Mono Winforms on Mac: Clipboard patches

matteo tesser matteo.tesser at gmail.com
Wed Nov 24 18:37:15 EST 2010


Hi,
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,
Matteo

On Mon, Nov 22, 2010 at 4:00 AM, Miguel de Icaza <miguel at novell.com> wrote:
> Hello,
> I have isolated the clipboard changes from Ralph's patches, this version no
> longer regresses the API [1], and I updated the list of pending changes from
> Ralph and uploaded that [2].
> I am not sure why these changes were needed in the first place.   They moved
> the Clipboard functionality from the XplatXXX drivers into a new set of
> XplatClipboardXXX drivers, but we have no idea what was wrong with the
> previous approach and why this change is needed.   At least we now have
> those split, so we can chose to pick the changes later if they make sense,
> and we can continue integrating the rest of the patches that Ralph left on
> our doorstep one-by-one.
> [1] http://tirania.org/tmp/clipboard-patches
> [2] http://tirania.org/tmp/changes3.gz
>


More information about the Mono-devel-list mailing list