rakslice / macemu

Basilisk II and SheepShaver Macintosh emulators
0 stars 0 forks source link

Make clipboard integration preserve all Mac character set text #25

Closed rakslice closed 3 years ago

rakslice commented 4 years ago

When clipboard integration is turned on, it clobbers Mac special characters in clipboard text even when text is just copy-pasted between different apps on the emulated Mac. Presumably it is round-tripping all clipboard text through a conversion to some character set that is better for the host (unicode?) and in the process does some non-reversible conversions.

Steps to reproduce:

  1. Run B2 or SS with clipboard integration enabled
  2. Type the Option-8 bullet point in Key Caps or in a SimpleText document
  3. Select the text
  4. Copy it
  5. Paste it into a SimpleText document

Expected:

Actual

How to type an Option key special character when you have an Option key mapping usable enough to emulate holding down the Option key, but that doesn't register if you type any actual key combination with it (e.g. the default Windows key to Option mapping in modern Windows where it intercepts most Windows key combinations):

rakslice commented 4 years ago

In Mac OS 9 in SS I have found I can't copy and paste an icon using the normal Get Info icon selection when I switch to the other Get Info window it is as though text that I had previously copied is still in the clipboard (the paste command is greyed out when the icon is focused, however if I paste into the file name text box the text I copied before copying the icon is pasted) -- however if I copy the icon and paste into image editing software, the icon image is pasted as expected.