My initial reaction to this bug report was to reproduce/confirm it.  
WAttrib("selection="|| ...) did not paste nicely into OpenOffice or into Chrome 
on my Linux box.  But it Did paste nicely into a Terminal window, and into an 
Emacs running in its own (GUI, not console) window. So it is a little more 
complicated than just: our selection code has become broken somehow. It is more 
like: many typical modern Linux applications do not grok our classic X11 
selection mechanism and seem to use something else.

Cheers,
Clint
________________________________________
From: Bruce & Breeanna Rennie <[email protected]>
Sent: Monday, November 2, 2015 3:56 PM
To: Jafar Al-Gharaibeh; Unicon group
Subject: Re: [Unicon-group] IVIB application nearly working. A final question 
(I hope)

Good morning Jafar,

As you have said, you can copy from another application to the Unicon
IDE. However, the reverse is not true, at least in linux. I was able to
copy from gedit to UI but I could not copy from UI to gedit.

A quick follow through the code doesn't appear to show how to get to the
system clipboard. The UI creates a Clipboard object but this appears to
local to the Unicon VM. I will continue looking later today when I am
back from firewood collecting.

regards

Bruce Rennie

On 03/11/15 06:24, Jafar Al-Gharaibeh wrote:
>   You should be able to do "global" clipboard" copy/paste. I quickly
> tried that in the Unicon IDE and I was able to copy paste from another
> application. I will look up the details and let you know when I get a
> chance if you don't get it to work by then.
>
> --Jafar
>
> On Mon, Nov 2, 2015 at 5:13 AM, Bruce & Breeanna Rennie
> <[email protected] <mailto:[email protected]>> wrote:
>
>     To all a good evening,
>
>     I now have completed coding of my application except for the copy to
>     clipboard function.
>
>     Looking at UTR6c, there is an example of copy/paste to/from clipboard.
>     Notably, it uses the WAttrib("selection=" || longstr) to copy the data
>     to the clipboard. One is then able to copy back to elsewhere.
>
>     However, I am finding that this is local to the Unicon window
>     opened. It
>     has no effect on the system clipboard. Is there any known method
>     (cross-platform) in which I can copy from my application to another
>     application running, e.g. to some editor or application like
>     libreoffice?
>
>     Or is this going to involve writing a C function to handle this?

------------------------------------------------------------------------------
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to