GithubHelp home page GithubHelp logo

symless / synergy-core Goto Github PK

View Code? Open in Web Editor NEW
10.1K 355.0 3.6K 118.16 MB

Open source core of Synergy, the cross-platform keyboard and mouse sharing tool (Windows, macOS, Linux)

Home Page: https://symless.com/synergy

License: Other

C 1.60% QMake 0.01% C++ 93.08% Objective-C 0.58% CMake 2.21% Objective-C++ 1.99% Batchfile 0.01% Python 0.53% Ruby 0.01%
keyboard keyboard-emulation mouse mouse-emulation

synergy-core's Introduction

Synergy Core

This is the open source core component of Synergy, a keyboard and mouse sharing tool.

Developer quick start

Simplified instructions for those who want to contribute to development of Synergy Core.

You'll also need to read the quick start companion which contains essential instructions.

Dependencies:

python scripts/install_deps.py

Configure:

Windows:

cmake -B build --preset=windows-release

macOS:

cmake -B build --preset=macos-release

Linux:

cmake -B build --preset=linux-release

Build:

cmake --build build

Test:

./build/bin/unittests

Developer resources

For people who want to contribute to the development of Synergy.

  • Getting started - How to checkout the code from git and use the right branch.
  • Compiling - Instructions on how to compile Synergy Core from source.
  • Text config - Write a text config file when running Synergy Core manually.
  • Command line - Go full manual and run Synergy Core from the command line.
  • Synergy Vintage - Use Synergy on operating systems available between 1995 and 2006.

synergy-core's People

Contributors

67hz avatar abatyiev avatar andreacndn avatar aquacash5 avatar axelson avatar ccl2of4 avatar cribe78 avatar daunchung avatar epakai avatar ignacionr avatar igor-sikachyna avatar jakepetroules avatar jnewbon avatar jpmcmu avatar jpwhiting avatar legonigel avatar nbolton avatar nlyan avatar nyetwurk avatar pdecat avatar sarahhebert avatar serhiigadzhilov avatar signalwhisperer avatar speaker avatar statico avatar sveith avatar sviatoslavrazmyslov avatar syedamergilani avatar the-wes avatar yurivict avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

synergy-core's Issues

Computer running synergyc can only be unlocked via local keyboard when using remote desktop

Imported issue:

  • Author: atkin901 (Google user)
  • Date: 2009-03-13 00:00:00
  • Legacy ID: 24

What steps will reproduce the problem?

  1. Setup a Windows Synergy client on windows XP sp3. Enable remote desktop
    on this machine (configurable via %%SystemRoot%%\system32\mstsc.exe)
  2. From a separate machine on the network (not under synergy) connect via a
    Remote Desktop Connection. This will lock the machine under synergy client.
  3. Close the Remote Desktop Connection, and return to the client machine
    via the Synergy Servers keyboard, however only the Window clients hardwired
    keyboard is allowed to unlock the machine, no input is accepted from the
    synergy host.

What is the expected output? What do you see instead?

See repro step 3.

What version of the product are you using? On what operating system?

1.3.2 Windows Client, FreeBSD server.

Please provide any additional information below.

Integration of bugfixes from Fedora

Imported issue:

Here a couple Patches from Fedora which are missing in synergy+ sources.
I cleaned them a bit up so that they apply. The original ones are here:
"http://cvs.fedoraproject.org/viewvc/rpms/synergy/F-10/":http://cvs.fedoraproject.org/viewvc/rpms/synergy/F-10/

  • synergy-1.3.3-X11-DPMS.patch
    call DPMSOn() when entering screen to make sure powersaving mode is
    canceled on X11 client systems when the fake mouse / keyb become active
  • synergy-1.3.3-stuttered-delay-fix.patch
    patch to fix delay issues
  • synergy-1.3.1-warnings.patch
    remove compiler warnings
  • synergy-1.3.3-gcc43.patch
    fix build failure with gcc 4.3

Mac server not sending keystrokes to Windows client

Imported issue:

  • Author: Issue Importer
  • Date: 2009-05-14 00:00:00
  • Legacy ID: 56
  • Version: 1.4.17

Note: Problem present in Lion as well.

What steps will reproduce the problem?

  1. Start server on Mac OS X
  2. Start client Win XP
  3. Move mouse to client
  4. Start a text editor
  5. Type something

Expected: Characters appear on Win XP client.
Actual: Characters appear on Mac OS X server.

What version of the product are you using? On what operating system?
trunk as of May 13 2009 on OS 10.5 and 1.3.3 binary download from Apr 09.

Please provide any additional information below.
If I run the 1.3.1 server and the 1.3.3 win client keyboard support works.

option to disable synergy when full-screen app is active

Imported issue:

  • Author: csmith01 (Google user)
  • Date: 2009-04-18 00:00:00
  • Legacy ID: 45

Would be nice to have synergy disable screen switching when a full screen
app is active.

Current behavior is synergy attempts to minimize the full screen app and
switch to the secondary machine.

Support for peer-to-peer mode: multiple servers & clients

Imported issue:

  • Author: kijoshua.torr (Google user)
  • Date: 2009-03-03 00:00:00
  • Legacy ID: 17

I would find it very useful if I didn't have to worry about the difference
between the server and the client. It would be convenient if each computer
could act as both a server and a client.

Currently, I achieve this by using Synergy at the same time I'm using Input
Director (for Windows). The only problem I experience with this is that
sometimes my cursor gets lost (but never stuck, so it isn't a big problem).

Oh, and thanks for getting work done on Synergy! I was about to give up on
the program just a few minutes ago until I found your messages in the
original project's forum.

Modifier/meta keys get stuck down

Imported issue:

  • Author: stag.stag.stag (Google user)
  • Date: 2009-03-04 00:00:00
  • Legacy ID: 18

What steps will reproduce the problem?

  1. Problem occurs immediately after moving from one desktop to another
  2. Can occur when moving from server to client or from client to server
  3. Problem is sporadic - happens some of the time when
    moving from one desktop to the other
  4. I am not aware of a particular sequence of steps that are guaranteed to
    reproduce the problem

What is the expected output? What do you see instead?
I expect that typing or clicking the mouse will have the normal effect.
When the problem occurs, the computer acts as if a meta key such as ctrl or
alt is being held down.
To resolve the problem, I have to press each meta-key on the keyboard until
I determine which one the computer believes is being pressed.

What version of the product are you using? On what operating system?
Synergy 1.3.1 on XP SP2

Please provide any additional information below.

Copying text from a remote computer crashes java programs.

Imported issue:

  • Author: claus.klingberg (Google user)
  • Date: 2009-03-21 00:00:00
  • Legacy ID: 26

There is a bug with how the synergy server sends arrays of X11 Atoms on 64
bit systems. The number of elements is calculated from the format which is
32 bits, but the array elements are 64 bits long. This causes the number
of elements pass to XChangeProperty() to be twice as big as it should be.

This bug has been crashing Java programs on 64bit systems.

Issues with Synergy grabbing focus

Imported issue:

  • Author: john.ludlow.uk (Google user)
  • Date: 2009-04-27 00:00:00
  • Legacy ID: 47

What steps will reproduce the problem?

  1. Set up a client and server, with "Don't take foreground on Windows
    servers" unticked
  2. On the server, set up a process (I used ping www.google.com -t >>
    test.txt) which will write to a text file every 10 seconds
  3. Open the text file in Notepad++ (I assume other applications that grab
    focus like this will have similar issues) and enable the File Status Auto-
    detection. You will recieve message boxes telling you when the file has
    been updated.

What is the expected output? What do you see instead?

You should be able to move between the client and server easily with no
issues while this is going on. What I see instead is that both Synergy
and Notepad++ will try and grab the focus at once, and this will lock out
the keyboard and mouse.

By hitting Ctrl-Alt-del a couple of times, I was able to get control back,
but NP++ and any window in front of it were still locked (including the
task manager). I ended up using powershell to kill the notepad++ process
and then I got control back.

Turning "Don't grab focus..." on fixes this issue, but causes another one.

What version of the product are you using? On what operating system?

Windows 2008 for the server-side server with an XP client (IOW, my
keyboard and mouse are connected to the Win2k8 box)

Please provide any additional information below.
If I turn the "Don't grab focus..." option on, it breaks if I have an RDP
session in the foreground on my server.

Crash after dock-undock and sleep/wake operation on Windows

Imported issue:

  • Author: sorin.sbarnea (Google user)
  • Date: 2009-05-19 00:00:00
  • Legacy ID: 59

What steps will reproduce the problem?

  1. undock laptop
  2. close lid
  3. dock to other dock (or other network)
  4. synergy crashes. Dump attached (trunk version)

What is the expected output? What do you see instead?

synergys.exe!std::_Tree<std::_Tset_traits<CBaseClientProxy  

*,std::less<CBaseClientProxy *>,std::allocator<CBaseClientProxy *>,0>

::_Lbound(CBaseClientProxy * const & _Keyval=0x013843b8) Line 1264 +
0x8 bytes C++
synergys.exe!std::_Tree<std::_Tset_traits<CBaseClientProxy
*,std::less<CBaseClientProxy *>,std::allocator<CBaseClientProxy *>,0>
::lower_bound(CBaseClientProxy * const & _Keyval=0x013843b8) Line 1004 +
0x10 bytes C++
synergys.exe!std::_Tree<std::Tset_traits<CBaseClientProxy
*,std::less<CBaseClientProxy *>,std::allocator<CBaseClientProxy *>,0>
::find(CBaseClientProxy * const & Keyval=0x013843b8) Line 978 + 0x10
bytes C++
synergys.exe!CServer::removeClient(CBaseClientProxy * client=0x013843b8)
Line 1933 + 0x13 bytes C++
synergys.exe!CServer::removeActiveClient(CBaseClientProxy *
client=0x013843b8) Line 2017 + 0xc bytes C++
synergys.exe!CServer::handleClientDisconnected(const CEvent &
formal={...}, void * vclient=0x013843b8) Line 1334 C++
synergys.exe!TMethodEventJob::run(const CEvent & event={...})
Line 66 + 0x1b bytes C++
synergys.exe!CEventQueue::dispatchEvent(const CEvent & event={...}) Line
190 + 0x13 bytes C++
synergys.exe!mainLoop() Line 685 + 0x27 bytes C++
synergys.exe!foregroundStartup(int argc=0x00000002, char * *
argv=0x00b038a0) Line 1207 C++
synergys.exe!run(int argc=0x00000002, char * * argv=0x00b038a0,
ILogOutputter * outputter=0x00b05d20, int (int, char * )
startup=0x00409770) Line 759 + 0xd bytes C++
synergys.exe!WinMain(HINSTANCE
* instance=0x00400000, HINSTANCE
*
formal=0x00000000, HINSTANCE * formal=0x00000000, HINSTANCE *
__formal=0x00000000) Line 1256 + 0x83 bytes C++
synergys.exe!__tmainCRTStartup() Line 263 + 0x2c bytes C
synergys.exe!WinMainCRTStartup() Line 182 C
kernel32.dll!7c817077()
[Frames below may be incorrect and/or missing, no symbols loaded for
kernel32.dll]

Stack overflow in CMSWindowsKeyState.cpp

Imported issue:

  • Author: brian.telfer (Google user)
  • Date: 2009-05-11 00:00:00
  • Legacy ID: 52

What steps will reproduce the problem?

  1. Windows 7 RC1
  2. Start client.
  3. When the client connected to the server, the client crashes.

What version of the product are you using? On what operating system?

  • Win 7 RC1
  • 1.3.3

Please provide any additional information below.

The overflow is due to the recursive function call at CMSWindowsKeyState.cpp, line 1410 - getIDForKey(item, button, virtualKey, keyState, hkl);

The application was stuck in a recursive loop, causing the crash. I hacked the code to remove
the recursive call, and it works. I am sure this is not the real solution, as I didn't take the time to
understand the method, but I hope helps you guys find the real issue.

case 1:
case 2:
return id;
//case 2:
// left over dead key in buffer; oops.
//return getIDForKey(item, button, virtualKey, keyState, hkl);

Caps Locks ON/OFF caption

Imported issue:

  • Author: telken3 (Google user)
  • Date: 2009-04-27 00:00:00
  • Legacy ID: 48

What steps will reproduce the problem?

  1. Move 2nd computer or 3rd computer
  2. Hit Backspace on Logitech Wireless Keyboard
  3. Caps Locks Caption pops up whichever screen you are on.

What is the expected output? What do you see instead?
When i hit backspace it just deletes what i am trying to get rid of and no
captions pop up on screen.

What version of the product are you using? On what operating system?
Version 1.3.3; Windows XP SP2

Please provide any additional information below.

Automated multi-platform build, test and release system

Imported issue:

  • Author: sorin.sbarnea (Google user)
  • Date: 2009-03-27 00:00:00
  • Legacy ID: 31

Currently there is no way of knowing if modifications on one platform will
generate problems on other platform.

We need to find a way of triggering (even once a day) a build on 3
platforms (Windows, Linux and Mac OS), do some basic tests and publish the
packages.

Any recommendations?

International keyboard support

Imported issue:

  • Author: Issue Importer
  • Date: 2009-03-01 00:00:00
  • Legacy ID: 14

h2. Version 2 requirement

Version 2 must have full international keyboard support; non-us keyboard input in version 1 was unreliable. We may be able to enforce this with unit/integration tests.


h2. Original bug report

What steps will reproduce the problem?

  1. Switch to non-US layout (e.g. RU)
  2. Type a word

What is the expected output? What do you see instead?
layout gets switched back to US and the word is in english letters

What version of the product are you using? On what operating system?
Synerfy 1.3.1 windows XP on both comps

Please provide any additional information below.

Failed to connect to server: Timed out cmd\synergyc\synergyc.cpp,26

Imported issue:

  • Author: sorin.sbarnea (Google user)
  • Date: 2009-05-08 00:00:00
  • Legacy ID: 51

From time time time synergy client fails to resolve the server name. Using
IP is a valid workaround.

Remark: on the same computer using "telnet servername 24800" does work.

Client: Windows 7, cannot be reproduced always.

Synergy client on windows will not bring up desktop after screen powersave

Imported issue:

  • Author: atkin901 (Google user)
  • Date: 2009-03-13 00:00:00
  • Legacy ID: 23

What steps will reproduce the problem?

  1. Install a windows xp sp3 synergy client
  2. setup powersave for your monitor under display preferences
    ( I also have screen saver blank and on resume password protect )
  3. Mouse over to a different desktop
  4. Wait until monitor goes into powersave
  5. Attempt to mouse over to the windows synergy client desktop. Nothing
    will happen, only using the directly connected mouse or keyboard will bring
    it out.

What is the expected output? What do you see instead?

I expect the screen to come out of powersave and display the lock dialog.

What version of the product are you using? On what operating system?

1.3.2 Windows client, FreeBSD server.

Please provide any additional information below.

Unable to quickly control client computers after the server wakes up from sleep

Imported issue:

  • Author: bleppard (Google user)
  • Date: 2009-04-07 00:00:00
  • Legacy ID: 40

What steps will reproduce the problem?

  1. Put Host Computer to sleep.
  2. Wait until the connection to the host times out.
  3. Continue to wait for about 2 more minutes for the connection retry to be set to 60 seconds.
  4. Wake up host computer.
  5. Try to control client computer.

What is the expected output? What do you see instead?
I expect to be able to control the client computer shortly after waking the host computer from
sleep. Instead you may have to wait over a minute to be able to resume control.

What version of the product are you using? On what operating system?
Synergy+ 1.3.3
OS: Windows XP SP2

Please provide any additional information below.

Wrong behaviour with xscreensaver (server linux, client windows)

Imported issue:

  • Author: jul.gil (Google user)
  • Date: 2009-03-30 00:00:00
  • Legacy ID: 34

(synergy 1.3.1 on Linux and Windows)

When xscreensaver is activated on the server, the client session under Windows launches his
screensaver, and then stops it quickly.

I think that there is problems on both sides...

The server detects the activation, and immediatly a deactivation, the death of the xscreensaver
window, and again an activation. Then 3 events are sent to the clients, to start, stop and then
start the screen saver.

DEBUG: CXWindowsScreenSaver.cpp,194: xscreensaver activated
DEBUG: CXWindowsScreenSaver.cpp,390: xscreensaver activated on window 0x00c010d0
DEBUG: CXWindowsScreenSaver.cpp,204: xscreensaver deactivated
DEBUG: CXWindowsScreenSaver.cpp,390: xscreensaver deactivated on window 0x00c010d0
DEBUG: CXWindowsScreenSaver.cpp,174: xscreensaver died
DEBUG: CXWindowsScreenSaver.cpp,345: xscreensaver window: 0x00000000
DEBUG: CXWindowsScreenSaver.cpp,345: xscreensaver window: 0x00c01151
DEBUG: CXWindowsScreenSaver.cpp,390: xscreensaver activated on window x00c01151
DEBUG1: CXWindowsUtil.cpp,1738: ignoring X error: 3
DEBUG1: CXWindowsUtil.cpp,1738: ignoring X error: 3
DEBUG: CServer.cpp,1456: onScreenSaver activated
DEBUG1: CClientProxy1_0.cpp,359: send screen saver to "pcjgilles2" on=1
DEBUG1: CClientProxy1_0.cpp,359: send screen saver to "pcwin" on=1
DEBUG: CServer.cpp,1456: onScreenSaver deactivated
DEBUG1: CClientProxy1_0.cpp,359: send screen saver to "pcjgilles2" on=0
DEBUG1: CClientProxy1_0.cpp,359: send screen saver to "pcwin" on=0
DEBUG: CServer.cpp,1456: onScreenSaver activated
DEBUG1: CClientProxy1_0.cpp,359: send screen saver to "pcjgilles2" on=1
DEBUG1: CClientProxy1_0.cpp,359: send screen saver to "pcwin" on=1

On the client side the 3 events are received :

DEBUG1: recv screen saver on=1
DEBUG1: recv screen saver on=0
DEBUG1: recv screen saver on=1

But the second on=1 is not taken in account, the screen saver just flashes.

I think that there is something misunderstood between synergys and xscreensaver - perhaps there
is another way to detect the activation of the screensaver. Neverless the client should behaves
according the events received, and finally starts the screensaver.

Modernize support for various MacOS APIs to their 10.5 equivalents.

Imported issue:

  • Author: azanar (Google user)
  • Date: 2009-04-09 00:00:00
  • Legacy ID: 42

What steps will reproduce the problem?

  1. Open synergy.xcode
  2. Set SDK being used to MacOS 10.5 SDK
  3. Watch the deprecation warnings pile up.

This is the text of the patch I submitted to the synergy project; hopefully
it proves useful here as well:

This patch modernizes synergy's MacOS support to the 10.5 SDK. The primary
goal was to eliminate warnings due to deprecated API calls. Specifics
include:

  • Shifting from Scrap Manager to Pasteboard Manager for transferring
    clipboard contents
  • Using Text Input Services API instead of Keyboard Layout API for
    determining appropriate key/character mappings.
  • Removing support for deprecated KCHR resources.
  • Shifting to CoreGraphics from Display Manager for figuring screen
    geometry on screen resolution change events.

Note that these warnings do not appear when building against the latest
synergy release; it uses the MacOS 10.2.8 SDK by default, which does not
deprecate these calls. Eventually, though, that SDK will be obsoleted, and
removed from the developer tools, at which point these changes will
hopefully prove quite useful. :-)

Notes on testing and style are appreciated.

Mouse scroll does not work on client screen (Windows XP)

Imported issue:

  • Author: thcheung (Google user)
  • Date: 2009-04-01 00:00:00
  • Legacy ID: 37

What steps will reproduce the problem?

  1. Connect the client pc to the host pc
  2. Mouse wheel scroll works on the host pc
  3. Mouse wheel scroll does not work on the client pc

What is the expected output? What do you see instead?
Mouse wheel scroll works on both client and host computers. Instead the
mouse scroll does not work on the client.

What version of the product are you using? On what operating system?
1.3.3 both PCs on XP SP2

Please provide any additional information below.

Drag and drop between computers (Windows and Mac)

Imported issue:

  • Author: Doug.Gaff (Google user)
  • Date: 2009-04-23 00:00:00
  • Legacy ID: 46

This is an enhancement request.

Just as text copy/paste between the client and server is supported today,
it would be great to have file copy/paste supported.

As a possible implementation, perhaps the server could run an FTP server
and copy/paste would send files via FTP. Although a direct byte stream
might fit better with the current design.

Extra keystrokes when typing 'a'

Imported issue:

  • Author: axel.eirola (Google user)
  • Date: 2009-05-18 00:00:00
  • Legacy ID: 58

The problem is that the client sends a sequence of keystrokes upon
receiving 'a' from the server, instead of only one. This is an issue in
most games where the key configuration setup procedure only registers the
first keystroke which is 'capslock' instead of 'a'. If shift is pressed
while typing 'a' this does not occur and the only keystroke sent is 'a'.

What steps will reproduce the problem?

  1. Set debug level to DEBUG1 on Windows client
  2. Press 'a' key on server keyboard
  3. Notice extra keystroke events in log

What is the expected output? What do you see instead?
From the log when pressing 's':

2009-05-18T18:42:05 DEBUG1: recv key down id=0x00000073, mask=0x0000,
button=0x0027
lib\client\CServerProxy.cpp,56
2009-05-18T18:42:05 DEBUG1: mapKey 0073 (115) with mask 0000, start state:
0000
lib\synergy\CKeyMap.cpp,26
2009-05-18T18:42:05 DEBUG1: find best: 0000 0000
lib\synergy\CKeyMap.cpp,61
2009-05-18T18:42:05 DEBUG1: best key index 0 of 2 (exact)
lib\synergy\CKeyMap.cpp,69
2009-05-18T18:42:05 DEBUG1: found key in group 0
lib\synergy\CKeyMap.cpp,61
2009-05-18T18:42:05 DEBUG1: state: 0000,0000,1007
lib\synergy\CKeyMap.cpp,78
2009-05-18T18:42:05 DEBUG1: flip: 0000 (0000 vs 0000 in 1007 - 0000)
lib\synergy\CKeyMap.cpp,87
2009-05-18T18:42:05 DEBUG1: desired state: 0000 0000,0000,1007
lib\synergy\CKeyMap.cpp,79
2009-05-18T18:42:05 DEBUG1: flip: 0000 (0000 vs 0000 in eff8 - 6020)
lib\synergy\CKeyMap.cpp,87
2009-05-18T18:42:05 DEBUG1: mapped to 01f, new state 0000
lib\synergy\CKeyMap.cpp,32
2009-05-18T18:42:05 DEBUG1: keystrokes:
lib\synergy\CKeyState.cpp,80
2009-05-18T18:42:05 DEBUG1: 01f (00000053) down
lib\platform\CMSWindowsKeyState.cpp,119
2009-05-18T18:42:05 DEBUG1: recv key up id=0x00000073, mask=0x0000,
button=0x0027
lib\client\CServerProxy.cpp,60
2009-05-18T18:42:05 DEBUG1: keystrokes:
lib\synergy\CKeyState.cpp,80
2009-05-18T18:42:05 DEBUG1: 01f (00000053) up
lib\platform\CMSWindowsKeyState.cpp,119

Compared to log when pressing 'a':

2009-05-18T18:42:01 DEBUG1: recv key down id=0x00000061, mask=0x0000,
button=0x0026
lib\client\CServerProxy.cpp,56
2009-05-18T18:42:01 DEBUG1: mapKey 0061 (97) with mask 0000, start state:
0000
lib\synergy\CKeyMap.cpp,26
2009-05-18T18:42:01 DEBUG1: find best: 0000 0000
lib\synergy\CKeyMap.cpp,61
2009-05-18T18:42:01 DEBUG1: best key index 0 of 1 (exact)
lib\synergy\CKeyMap.cpp,69
2009-05-18T18:42:01 DEBUG1: found key in group 0
lib\synergy\CKeyMap.cpp,61
2009-05-18T18:42:01 DEBUG1: state: 0000,1001,1007
lib\synergy\CKeyMap.cpp,78
2009-05-18T18:42:01 DEBUG1: flip: 1001 (0000 vs 1001 in 1007 - 0000)
lib\synergy\CKeyMap.cpp,87
2009-05-18T18:42:01 DEBUG1: desired state: 0000 1001,1001,1007
lib\synergy\CKeyMap.cpp,79
2009-05-18T18:42:01 DEBUG1: flip: 0000 (1001 vs 0000 in eff8 - 6020)
lib\synergy\CKeyMap.cpp,87
2009-05-18T18:42:01 DEBUG1: mapped to 01e, new state 0000
lib\synergy\CKeyMap.cpp,32
2009-05-18T18:42:01 DEBUG1: keystrokes:
lib\synergy\CKeyState.cpp,80
2009-05-18T18:42:01 DEBUG1: 03a (00000014) down
lib\platform\CMSWindowsKeyState.cpp,119
2009-05-18T18:42:01 DEBUG1: 03a (00000014) up
lib\platform\CMSWindowsKeyState.cpp,119
2009-05-18T18:42:01 DEBUG1: 02a (000000a0) down
lib\platform\CMSWindowsKeyState.cpp,119
2009-05-18T18:42:01 DEBUG1: 01e (00000041) down
lib\platform\CMSWindowsKeyState.cpp,119
2009-05-18T18:42:01 DEBUG1: 02a (000000a0) up
lib\platform\CMSWindowsKeyState.cpp,119
2009-05-18T18:42:01 DEBUG1: 03a (00000014) down
lib\platform\CMSWindowsKeyState.cpp,119
2009-05-18T18:42:01 DEBUG1: 03a (00000014) up
lib\platform\CMSWindowsKeyState.cpp,119
2009-05-18T18:42:01 DEBUG1: recv key up id=0x00000061, mask=0x0000,
button=0x0026
lib\client\CServerProxy.cpp,60
2009-05-18T18:42:01 DEBUG1: keystrokes:
lib\synergy\CKeyState.cpp,80
2009-05-18T18:42:01 DEBUG1: 01e (00000041) up
lib\platform\CMSWindowsKeyState.cpp,119

What version of the product are you using? On what operating system?
Using synergy-plus 1.3.3 client on 64bit Windows Vista, connected to
vsynergy ersion 1.3.1 running on 64bit Gentoo Linux.

Please provide any additional information below.
The same occurs with 1.3.1, but filing the bug here since it isn't under
active developement anymore.

Windows monitor power save not working

Imported issue:

  • Author: [email protected] (Google user)
  • Date: 2009-03-26 00:00:00
  • Legacy ID: 28
  • Version: 1.5.0

The power save setting are set the same on both machines. The vista
computer shuts monitor off correctly but the xp machine stays on.

What version of the product are you using? On what operating system?
Client windows xp Pro SP3
Server Vista

I am using version 1.3.3

Missing synergy.xcode file

Imported issue:

  • Author: karl.kopp (Google user)
  • Date: 2009-03-23 00:00:00
  • Legacy ID: 27

What steps will reproduce the problem?

  1. Download latest trunk

What is the expected output? What do you see instead?
There should be a file called synergy.xcode as per build for Mac OSX /
XCode instructions here ("http://code.google.com/p/synergy-":http://code.google.com/p/synergy-
plus/wiki/Compiling)

What version of the product are you using? On what operating system?
10.5.6

Please provide any additional information below.
N/A

OSX 10.5 synergyc crashes on screen change

Imported issue:

  • Author: bernd.kilga (Google user)
  • Date: 2009-05-18 00:00:00
  • Legacy ID: 57

What steps will reproduce the problem?

  1. launch synergyc
  2. Connect a TV (different resolution than main screen)
  3. Enable "Mirror Displays" under SysPref/Displays

What is the expected output? What do you see instead?
After the resolution change is performed synergyc quits (crashes?) without
any log entry. --restart parameter fails too.

What version of the product are you using? On what operating system?
latest Synergy build (rev 54+) on OS X 10.5.6 and 10.5.7

Please provide any additional information below.
Reverting COSXScreen.cpp and COSXScreen.h back to rev 53 fixes the issue.
I'm not yet sure what particular line causes the termination of the process.

Message window appears for FATAL messages on Windows

Imported issue:

  • Author: trippinbilly25 (Google user)
  • Date: 2009-05-03 00:00:00
  • Legacy ID: 50

OS: Windows Client

Whenever an error occurs in windows, the log/error console appears. This
may be useful for debugging errors or development, but is annoying for a
user as the window does not go away upon reconnection to the server.

It would probably be better to just have the window appear when the user
clicks "View Log" in the taskbar icon or only have this behavior enabled in
a debug mode.

Synergy messes with umlauts and other silent keys

Imported issue:

  • Author: torbengbdk (Google user)
  • Date: 2009-04-07 00:00:00
  • Legacy ID: 39

What steps will reproduce the problem?

  1. Use an international keyboard layout that features the umlaut key "".
  2. The first few times you type the umlaut key [] followed by a vowel, the
    correct character appears, e.g. "".
  3. After a short while, when you type the umlaut key [] followed by a
    vowel, the wrong characters appear, e.g. "u" instead of "".
  4. Similarly, when typing the pipe key, the expected result is "|" but the
    actual result is "|`".
  5. This behaviour does not appear when Synergy is quit.

What is the expected output? What do you see instead?
See above.

What version of the product are you using? On what operating system?
server = Synergy-Plus 1.3.3 on Win2000sp4 (German) HP pc
client = Synergy-Plus 1.3.3 on WinXPsp1 (English) IBM laptop

Please provide any additional information below.

  1. I use the Danish/Denmark keyboard layout.
  2. The pipe key is two keys to the right of the zero key in the number row.
  3. The umlaut key is below and to the right of the pipe key.

Support for running as a service in Vista and Win7

Imported issue:

  • Author: danrog (Google user)
  • Date: 2009-03-30 00:00:00
  • Legacy ID: 35

What steps will reproduce the problem?

  1. Install synergy in Windows as a service, reboot or start manually

What version of the product are you using? On what operating system?
1.3.1 and 1.3.3

Please provide any additional information below.
Discussion thread:
"http://groups.google.com/group/synergy-plus/browse_thread/thread/1dfdedce5702499":http://groups.google.com/group/synergy-plus/browse_thread/thread/1dfdedce5702499

VMware - Ctrl/Shift/Alt keys not passed to application on client machine

Imported issue:

  • Author: smith.timsmith (Google user)
  • Date: 2009-03-04 00:00:00
  • Legacy ID: 19
  • Version: 1.3.6

What steps will reproduce the problem?
Running two Ubuntu machines. Running vmware workstation 6.5 on the client
machine. Mouse and unmodified keystrokes work fine in vmware workstation.
Pressing any modification keys (ctrl/alt/shift/etc.) causes the keystrokes
to be lost.

  1. Start a virtual machine in vmware workstation on the client
  2. While outside the vm all modified keys work
  3. While in the vm modified keys do not work

What is the expected output? What do you see instead?

Keystrokes should pass to the application.

What version of the product are you using? On what operating system?

Ubuntu 8.10 on both client and server. Server is running Ubuntu 8.10
64bit, client is 32bit. VMWare workstation on client is version 6.5.

Please provide any additional information below.

Based on other bug reports related to keys getting stuck and keystrokes
getting lost I would say there is an issue with how keys are pushed to the
client. Perhaps should look at how VNC hooks the keyboard?

Work around: Load synergy in the virtual machine and attach the virtual
machine to another part of the monitor. (i.e. Client machine monitor is
configured as being on the right. Virtual machine "monitor" is configured
as being above.)

To the guy that started the synergy-plus project. YOU ROCK! I started
using Synergy a month ago and love it except for this problem.

Certain applications make synergy fail while they are maximized

Imported issue:

  • Author: amthar (Google user)
  • Date: 2009-04-10 00:00:00
  • Legacy ID: 43

What steps will reproduce the problem?

  1. Installed Synergy on vistax64 and win 7 laptops - worked fine
  2. Installed Pidgin and Digsby on Windows 7 laptop, mouse will not move on
    windows 7 laptop when either app is on the screen.
  3. If I minimize the app it works fine

What is the expected output? What do you see instead?
For the mouse and keyboard to still work when Pidgin or Digsby is open

What version of the product are you using? On what operating system?
Synergy+ 1.3.3, windows vista x64 (running synergy+ as server), windows 7
(running synergy+ as client)

Please provide any additional information below.

Intermittent delay problem with synergyc under Xwindows

Imported issue:

  • Author: claus.klingberg (Google user)
  • Date: 2009-03-21 00:00:00
  • Legacy ID: 25

What steps will reproduce the problem?

  1. Connect to (Windows) synergy-server under Linux/X11 using synergyc (client).
  2. Work and switch screens for some time (may take > 15 min)
  3. Sometimes, when on the XWin screen, the mouse will pause (freeze) for a
    couple of seconds, then resume normal movement.

This is very annoying since it interrupts program / work flow.

See also issue 2133480 in synergy tracker on sourceforge for another
description of the error

See also issue 2141567 in synergy tracker on sourceforge for description
and fix to this error.

Edit to tape in Final Cut Pro (FCP) stops mouse clicks on XP client

Imported issue:

  • Author: dplbird (Google user)
  • Date: 2009-04-28 00:00:00
  • Legacy ID: 49

What steps will reproduce the problem?

  1. Edit to tape/Print to video on FCP

What is the expected output? What do you see instead?
Should be able to click.
Can move mouse to XP client but mouse clicks bring the pointer back to Mac
screen.

What version of the product are you using? On what operating system?
SynergyKM on OSX10.5 as server
Synergy-plus 1.33 as Windows Client

Please provide any additional information below.

RFE: Windows start panel default button focus

Imported issue:

  • Author: quaeler (Google user)
  • Date: 2009-03-03 00:00:00
  • Legacy ID: 16

What steps will reproduce the problem?

  1. Launch the windows version of Synergy
  2. Note that the "Test" button has focus

What is the expected output? What do you see instead?
I suppose this is expected output; better usability would be to have the
"Start" button have focus since that will be the most frequently used
button over the lifespan of the install and would also allow a user to
launch the app and simply hit Enter on the keyboard to start the synergy
client or server process.

What version of the product are you using? On what operating system?
1.3.1 under XP SP3

Please provide any additional information below.

Keyrepeat on meta keys causes issues (iPhone related)

Imported issue:

  • Author: chrisnojima (Google user)
  • Date: 2009-05-12 00:00:00
  • Legacy ID: 53

What steps will reproduce the problem?

  1. XP server, OS X client
  2. fire up iphone simulator, hold down option
  3. it will flicker as key repeat is send to the mac

What is the expected output? What do you see instead?
It should be steady, like when i plug directly into the mac

What version of the product are you using? On what operating system?
1.3.3, same issue with original synergy from 1.3.0

Please provide any additional information below.

Also noticed that holding control and dragging seems to not work.
Noticed this in interface builder, possibly related. The flickering is
definitely the key repeat messing things up. If i adjust the keyrepeat
params in the keyboard control panel in windows it adjusts the flicker
speed

Mac OS X synergys will not run in daemon mode

Imported issue:

  • Author: nobleclem (Google user)
  • Date: 2009-05-14 00:00:00
  • Legacy ID: 55

What steps will reproduce the problem?

  1. compile from CLI
  2. start synergy ./synergys --config synergy.conf
  3. ps -ax | grep synergys

What is the expected output? What do you see instead?
in step 3 I expect to see the server running. instead I see nothing

What version of the product are you using? On what operating system?
trunk as of May 13 2009.

Please provide any additional information below.
This problem started with synergy-1.3.1 when OS 10.5 was released.

Better communcation messages

Imported issue:

  • Author: gbonvehi (Google user)
  • Date: 2009-04-02 00:00:00
  • Legacy ID: 38

I was trying this new version of synergy, great work!
I compiled latest svn version on linux and windows, it's working perfectly.
I've a suggestion to improve synergy a little bit, I saw in the source that
you send whole messages like CNOP in the packets, I did a little
modification to use only one character per message and seems to be working
fine.
I'm attaching the modifications in case you'd like to improve this, there
are other things that may be improved, like synergy sending tons of
malformed packets (you can see that using wireshark).

Thanks for the effort! Oh, and you may want to add to INSTALL file that you
have to run autoreconf --install --force to recreate the ./configure file
when downloading from SVN.

Thanks,
Guillermo Bonvehi

Keyboard input is not permited and you receive beeps on any keystroke

Imported issue:

  • Author: sorin.sbarnea (Google user)
  • Date: 2009-03-06 00:00:00
  • Legacy ID: 21

On Windows as server Mac as client. From time to time you'll see that
you'll not be able to use the keyboard and you'll receive beeps on every
stroke.

What is the expected output? What do you see instead?

Workaround: drag the mouse to the other computer and back. Repeat if needed.

Launcher fails to save/load configuration file on Russian Windows

Imported issue:

  • Author: alexey.skryabin (Google user)
  • Date: 2009-04-14 00:00:00
  • Legacy ID: 44

What steps will reproduce the problem?

  1. Use Russian edition of Windows XP SP3 (where there is NO "c:\Document
    and Settings\user\My Documents", but "c:\Document and Settings\user???
    ?????????").
  2. Run Synergy, try to config server as it is described in "Guide to
    Setting up Synergy" (it is enough to add a single Screen).
  3. Press "Test".

What is the expected output? What do you see instead?
I get a error message box that says "Failed to save configuration: The system cannot find the path
specified".

What version of the product are you using? On what operating system?
I've tried both the latest SynergyInstaller.exe and the latest source code
from the Subversion repository. I'm running Windows XP Pro SP3 Russian
edition.

Please provide any additional information below.
Both loadConfig() and saveConfig() functions from LaunchUtil.cpp fail to
work with file names containing cyrillic letters (well, actually it is std::ofstream that fails to work). I've tried to set the locale to the ANSI
code page obtained from the operating system (adding "setlocale( LC_ALL,
".ACP" );" at the beginning of WinMain()) and it seems to fix the problem.

Quote chars broken on US-International keyboard

Updated issue

Steps to reproduce:

  1. Use international keyboard with dead keys
  2. Use Linux server
  3. Type ' or “ on macOS client
  4. Type ' or “ on Windows client

Expected:

The ' and “ chars are typed on the client.

Actual:

On the Linux server, it all goes well: ' (the quote, 0x27) and " (the double quote, 0x22)

On the Mac client: ´ (the slanted quote, 0xB4) and ¨ (the trema, 0xA8)

On the Windows client: nothing for the single quote and ¨ (the trema, 0xA8)

Original issue

Imported issue:

  • Author: ambros (Google user)
  • Date: 2009-03-01 00:00:00
  • Legacy ID: 13

To reproduce:

  1. set your keyboard as US-International keyboard, language English
  2. open notepad
  3. type apostrophe or quote
  4. type space
    (nothing happens)

What is the expected output? What do you see instead?
Apostrophes or quotes are not displayed.

What version of the product are you using? On what operating system?
Tested in two different confits:

  • Windows XP Media Center (host) with Vista 32b and with Mac OSX (clients)
  • Windows 7 64b (host) with Windows Vista 32 (client)

Same behavior.

Please provide any additional information below.
Microsoft Comfort Keyboard 2000 v1.0

synergys unresponsive with 100%% cpu usage

Imported issue:

  • Author: rodric.glaser (Google user)
  • Date: 2009-05-13 00:00:00
  • Legacy ID: 54

What steps will reproduce the problem?

  1. Compile/install synergy-plus on my machine
  2. Start synergys

What is the expected output?
a working synergys

What do you see instead?
synergys process spins up to 100%% cpu and must be killed with signal 9.

What version of the product are you using?
Anything built after "/p/synergy-plus/source/detail?r=28":r28 from svn (or current hg tip).

On what operating system?
Gentoo Linux 2.6.29, gcc 4.3.3, xorg-x11 7.4, xorg-server 1.5.1

Please provide any additional information below.
Reverting change 28 from the old svn repo resolves the issue.
"http://diff.pastebin.com/f6d7d7256":http://diff.pastebin.com/f6d7d7256

Encryption

Imported issue:

  • Author: Issue Importer
  • Date: 2009-02-27 00:00:00
  • Legacy ID: 12

Problem: Anyone using a packet sniffer can easily record keystrokes sent over the network by Synergy.

Solution: Implement encryption which is on by default, but can be turned off.

Integrate QSynergy in to release package to replace existing GUI

Imported issue:

  • Author: eharmon (Google user)
  • Date: 2009-04-01 00:00:00
  • Legacy ID: 36

QSynergy appears to be a much better interface for Synergy than the
current default on Windows, and is also completely cross platform allowing
it to support all Synergy platforms. It may be a good launching point for
a proper GUI that is consistent and works on all OSes. More information
can be seen here:

"http://www.volker-lanz.de/en/software/qsynergy/":http://www.volker-lanz.de/en/software/qsynergy/

Allow desktop sharing.

Imported issue:

  • Author: rickhuizinga (Google user)
  • Date: 2009-03-27 00:00:00
  • Legacy ID: 30

Allow for sharing of desktops between machines. I.e. Make it possible to drag a Window's window
onto the Max OS X monitor, and a Mac OS X onto the Windows monitor. This would provide the
illusion that each machine has use of two monitors.

Enhancement: remote-desktop-like application sharing between Synergy connected PCs

Imported issue:

Windows Vista has incorporated support for connecting remotely to
individual programs with remote desktop protocol.

If Synergy had an RDP or VNC-like protocol built into it that allowed one
to remotely control individual applications then one could not only move
the mouse and keyboard between computers, but drag whole application
windows as well.

Tough to compile on linux with newer g++

Imported issue:

  • Author: nobinds (Google user)
  • Date: 2009-03-27 00:00:00
  • Legacy ID: 29

Lots of errors come about because string.h and stdlib.h are not included
in some source files (about 9 files I think). I think the older g++ would
include these automatically, but not anymore. Also, the makefiles generated
contain -Wno-unknown-pragmas and -Werror, which seems to cause a lot of
errors in the svn. Removing these made synergy compile perfectly (and run
perfectly). You probably use it for development purposes.

What version of the product are you using? On what operating system?
Synergy 1.3.3 (svn). Ubuntu 8.10

Please provide any additional information below.
g++ 4.3.2

Under Windows, distinct characters produce identical key codes (i.e. WPARAM and LPARAM values)

Imported issue:

  • Author: gregap (Google user)
  • Date: 2009-03-13 00:00:00
  • Legacy ID: 22

What steps will reproduce the problem?

  1. Install a keyboard layout containing both problematic keys, e.g. C and
    CCARON (included: a custom Slovenian keyboard, CCARON is obtained by
    pressing AltGr + C)
  2. Type CCARON in a window on the computer running the synergy server: ? is
    output
  3. Type CCARON in a window on the computer running the synergy client: c is
    output

What is the expected output? What do you see instead?
The expected output on the client computer is ? (or ?), but c (or C) are
output instead.

What version of the product are you using? On what operating system?
synergy+ 1.3.3 on Windows XP, service pack 3 (server)
synergy 1.3.2 on openSUSE 11.1 (client)

Please provide any additional information below.
By scanning the network traffic I determined that exactly the same values
are sent to the client, regardless of what key is pressed, indicating that
the problem lies with the server.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.