#117 copy paste loses shift and some characters

Networking (54)

For some reason when copying local text and pasting it
into the target (an OSX machine running Redstone's
server http://www.redstonesoftware.com/vnc.html ) it
sometimes loses some characters and always loses the
'shift' aspect (in other words, "?" becomes "/", ":"
becomes ";", etc.)

version 2.0b2


  • Jonathan Gillaspie

    Logged In: YES

    This behavior doesn't seem consistent unless the text is being PASTED
    onto the client window and then Chicken is "re-typing" those letters to
    the sut.
    If the OSXvnc server was started in App Mode (as opposed to a system
    StartupItem) then it should be working with clipboard sharing and if the
    Command-V is sent over to the other system (or if you use the menu's
    on the remote machine) then it should work.

    Jonathan Gillaspie
    Redstone Software Inc. -- Makers of Platform Independent Automation

  • Marc Lindahl

    Marc Lindahl - 2005-01-19

    Logged In: YES

    The OSXvnc server was being started in system StartupItem
    mode (since it's a remote server, it has to be)... so I
    guess Chicken is "re-typing"? well, why is it missing
    characters, especially 'shift's?

    Is there another bug with the server that it can't share the

  • Jonathan Gillaspie

    Logged In: YES

    Ok well this is interesting.. let me address the known issues with the
    First, Mac OS prevents processes started before the user logged in from
    access the pasteboard, it's an Apple security restriction. So if you want
    to share the clipboard you need to have it set as an item that launches
    when the user logs in.
    Second, the keyboard control API doesn't allow the server to "send
    characters" it allows keys to be pressed, if Chicken isn't explicitly
    pressing the Shift key and you hit the '?' key on a US keyboard you get a
    So the question is if Chicken ALWAYS just re-types text or if it only does
    it sometimes.

  • Jason Harris

    Jason Harris - 2005-01-19

    Logged In: YES

    I think that this is a regression in Chicken that I caused starting around
    version 2.0. Chicken is currently just sending a keydown/keyup of the
    unichars in the pasteboard (if the pasteboard contains a string or the
    name of a file). It's not making any effort to send the modifiers as well.

    I seem to recall that this worked better in earlier versions. I'll check
    some diffs and report back.

  • Jason Harris

    Jason Harris - 2005-01-19
    • assigned_to: nobody --> smeger
  • Jason Harris

    Jason Harris - 2005-07-11
    • status: open --> open-fixed
  • Jason Harris

    Jason Harris - 2005-07-11

    Logged In: YES

    As of 7/11/05 CVS, all issues in Chicken concerning this seem to be
    resolved. I'm still having problems pasting shifted characters into
    OSXVnc, but this seems to be the issue mentioned by Jonathan earlier in
    this bug report. Pasting the same characters into RealVNC and ARD
    works fine, so I assume Chicken is doing it right.

    Leaving open until we ship.

  • Jason Harris

    Jason Harris - 2005-08-23
    • status: open-fixed --> closed-fixed
  • Jason Harris

    Jason Harris - 2005-08-23

    Logged In: YES

    Resolved for Chicken 2.0b3.


Log in to post a comment.