rakslice/macemu

Make clipboard integration preserve all Mac character set text

Closed this issue · 1 comments

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:

  • The exact same text is pasted

Actual

  • The pasted text has the bullet point replaced with some other kind of small dot character

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):

  • Open Key Caps from the Apple menu
  • Hold down the Option key. The symbols shown on the keyboard diagram in Key Caps will change to the Option-key versions.
  • Click a keyboard key in the diagram in Key Caps with the mouse
    The corresponding symbol will be typed into the Key Caps text box, where you can copy it.

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.