Mantis - Squeak
Viewing Issue Advanced Details
7364 VM minor always 07-08-09 15:45 03-24-10 06:03
kbrown Mac  
johnmci OS X  
normal 10.5.7  
assigned 3.10.2  
Squeak3.10.2-7179-basic.image open  
none    
none  
0007364: Copy to clipboard in Mac OS X sometimes doesn't paste properly into WorkSpace when running Squeak 4.1.1beta2U.app
I use Eudora 6.2.4 on Mac OS X 10.5.7 for email, if I copy something from Eudora, and try to paste into Squeak3.10.2-7179-basic running on Squeak 4.1.1beta2U.app, I just see o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o- This seems to be the result only before any copy is done in Squeak itself.

Contents of the clipboard look fine when viewed from the Finder by Edit/Show Clipboard.

Pasting same into Pharo0.1Core-10353 running on Squeak 4.1.1beta2U.app results in nothing at all showing up.
If I copy from BBEdit it shows up properly when pasted into Pharo or Squeak.

IIf I type something in the WorkSpace and copy it, then paste it back into the WorkSpace, it works. If I then go to Eudora in the operating System and copy some text, go back to Squeak and paste into the WorkSpace, the previously copied text from the WorkSpace gets pasted, not the latest text from Eudora. If I then go to BBEdit and copy and paste into the WorkSpace, I get the text from BBEdit in the WorkSpace. If I then copy some text again from Eudora and paste into the WorkSpace, I get the previously copied text from the WorkSpace, and not the text from either Eudora or BBEdit.
Run Squeak3.10.2-7179-basic.image on Squeak 4.1.1beta2U.app and open a WorkSpace.
Create some text 'Eudora Text' in Eudora 6.2.4 select it and copy it. Do Finder Edit/Show Clipboard to see it is correctly there. Do paste into the Squeak WorkSpace, get o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o-
Type 'workspace text' into the WorkSpace and copy it. Paste it back into the WorkSpace, get 'workspace text' in the WorkSpace.
Copy the text 'Eudora Text' from Eudora again, paste into the WorkSpace, get 'workspace text'.
Create text 'BBEdit text' in BBEdit, copy it. Paste into the WorkSpace, get 'BBEdit text' in the WorkSpace.
Copy 'Eudora Text' from Eudora again, paste it into the WorkSpace, get 'workspace text'.
It seems like the issue has to do with picking up the System clipboard when it has been written by Eudora, rather than text encoding issues unless it is something about the Eudora encoding causing the problem

Notes
(0013167)
kbrown   
07-10-09 18:55   
Apparently Eudora cannot handle UTF-8 so most likely is presently plain 8-bit text and the image running on Squeak 4.1.1beta2U.app does not recognize the system clipboard has anything on it and uses its own.
(0013168)
edgardec   
07-10-09 19:02   
I test different combination of image and VM.
I found when I have two images, seems Squeak 4.1.1beta2U having his own clipboard.
This was independent of which image and previous Squeak VM works well.
(0013577)
kbrown   
03-24-10 06:03   
Issue still present with Squeak4.1-9745-alpha, Squeak 4.2.3beta1U.ap, MacOS X 10.6.2.

Pasting works correctly if the copy from Eudora is first pasted into BBEdit, then copied again, then pasted into the Squeak Workspace.