[cotvnc-devel] [ cotvnc-Bugs-1100258 ] copy paste loses shift and some characters
Project superseded by http://chicken.sourceforge.net/
Brought to you by:
smeger
From: SourceForge.net <no...@so...> - 2005-01-19 20:09:02
|
Bugs item #1100258, was opened at 2005-01-11 09:30 Message generated for change (Comment added) made by smeger You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=507159&aid=1100258&group_id=64347 Category: Networking Group: v2.0 Status: Open Resolution: None Priority: 5 Submitted By: Marc Lindahl (bowerymarc) >Assigned to: Jason Harris (smeger) Summary: copy paste loses shift and some characters Initial Comment: 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 ---------------------------------------------------------------------- >Comment By: Jason Harris (smeger) Date: 2005-01-19 13:09 Message: Logged In: YES user_id=351330 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. ---------------------------------------------------------------------- Comment By: Jonathan Gillaspie (jonathanosx) Date: 2005-01-19 11:13 Message: Logged In: YES user_id=631278 Ok well this is interesting.. let me address the known issues with the server. 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. ---------------------------------------------------------------------- Comment By: Marc Lindahl (bowerymarc) Date: 2005-01-19 10:48 Message: Logged In: YES user_id=619807 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 clipboard? ---------------------------------------------------------------------- Comment By: Jonathan Gillaspie (jonathanosx) Date: 2005-01-19 08:41 Message: Logged In: YES user_id=631278 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 http://www.redstonesoftware.com Redstone Software Inc. -- Makers of Platform Independent Automation Software ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=507159&aid=1100258&group_id=64347 |