Hi Bernhard,

On Fri, Dec 31, 2021 at 5:27 AM Bernhard Pieber <bernhard@pieber.com> wrote:
 
Hi,

Maybe this question is better asked on the vm-dev list. Does anyone know the status of the ClipboardExtendedPlugin?

Happy New Year!

Bernhard

> Am 20.12.2021 um 09:38 schrieb Bernhard Pieber <bernhard@pieber.com>:
>
> Hi everyone,
>
> I tried to copy a form as PNG to the clipboard like this:
> ExtendedClipboardInterface current addClipboardDataConvertFormToPNG: self imageForm

With fixes to the plugin ClipboardExtendedPlugin.c generated C file to declare the interface it uses, and the Makefile to compile it, I am able to copy and paste the display into TextEdit on macOS 10.14.  I'll commit fixes to the opensmalltalk-vm repository, and add the plugin to Squeak macOS builds.  Thanks for the heads up :-)

>
> This seems not to work correctly. If I paste it to TextEdit I get the binary data starting with PNG instead of the image itself. It looks as if the ClipboardExtendedPlugin is not loaded. The plugin seems to be in the current VM source (src/pugins/ClipboardExtendedPlugin), though. I am on macOS Big Sur 11.6.1.
>
> Should this work? I tried on Squeak 3.4, 4.6 and 5.3 but the ExtendedClipboardInterface is not loaded in these images.
>
> Cheers,
> Bernhard




--
_,,,^..^,,,_
best, Eliot