deskflow / deskflow

Deskflow lets you share one mouse and keyboard between multiple computers on Windows, macOS and Linux.
https://deskflow.org
GNU General Public License v2.0
10.89k stars 3.67k forks source link

Wheel use kills connection (Linux->Mac) #2547

Closed nbolton closed 9 years ago

nbolton commented 9 years ago

Imported issue:

I have linux 1.2.8 client (not 1.2.8-1) connecting to
Mac 1.2.8 server. Use of the wheel while on the linux
client kills the connection. It often reconnects, but
sometimes doesn't, complaining that there is already a
client of the same name.

Here is the DEBUG2 level log from when it happens.

DEBUG2: CServerProxy.cpp,678: recv mouse move 455,587
DEBUG2: CProtocolUtil.cpp,31: writef(CNOP)
DEBUG2: CProtocolUtil.cpp,82: wrote 4 bytes
DEBUG2: CServerProxy.cpp,110: msg from server: DMWM
DEBUG2: CProtocolUtil.cpp,47: readf(%%2i)
DEBUG2: CProtocolUtil.cpp,128: readf: read 2 byte
integer: 0 (0x0)
DEBUG2: CServerProxy.cpp,725: recv mouse wheel +0
DEBUG2: CProtocolUtil.cpp,31: writef(CNOP)
DEBUG2: CProtocolUtil.cpp,82: wrote 4 bytes
ERROR: CServerProxy.cpp,104: incomplete message from
server: 2 bytes
INFO: CScreen.cpp,115: leaving screen
WARNING: synergyc.cpp,265: failed to connect to server:
incomplete message from server
DEBUG: synergyc.cpp,237: retry in 1 seconds
DEBUG1: CClient.cpp,114: connecting to server
DEBUG1: CClient.cpp,507: connected; wait for hello

nbolton commented 9 years ago

Logged In: YES
user_id=1441199

This bug does not affect me if I'm using Windows for client.

Are others running gentoo-sources like me? Perhaps its something in the kernel.

nbolton commented 9 years ago

Logged In: NO

I get this bug too, almost identical log message as duozmo.

WinXP Server, Gentoo linux client, both running 1.2.8

codewarrior@internode.on.net

nbolton commented 9 years ago

Logged In: NO

I have the same issue only my setup is a windows xp acting
as the server and a gentoo linux machine acting as the
client. Whenever i use the scroll wheel i get disconnected
from the client.

---LOG---

DEBUG2: onMouseMoveSecondary -1,+0
DEBUG2: move on tux to 193,280
DEBUG2: send mouse move to "tux" 193,280
DEBUG2: writef(DMMV%%2i%%2i)
DEBUG2: wrote 8 bytes
DEBUG2: msg from "tux": CNOP
DEBUG2: no-op from
DEBUG1: event: button wheel delta=+0,-120
DEBUG1: onMouseWheel +0,-120
DEBUG2: send mouse wheel to "tux" +0,-120
DEBUG2: writef(DMWM%%2i%%2i)
DEBUG2: wrote 8 bytes
DEBUG2: msg from "tux": CNOP
DEBUG2: no-op from
NOTE: client "tux" has disconnected
DEBUG1: registered event type ISocket::disconnected as 40
INFO: jump from "tux" to "scansta2" at 640,512
INFO: entering screen