2001-10-06 14:13:28 +00:00
|
|
|
CServer
|
|
|
|
* must have connection thread in screen info map
|
|
|
|
allows disconnect if screen map changes and screen is removed
|
|
|
|
* put mutex locks wherever necessary (like accessing m_active)
|
|
|
|
|
|
|
|
server client
|
|
|
|
------ ------
|
|
|
|
[accept] <-- connect
|
|
|
|
challenge --> [encrypt]
|
|
|
|
[verify] <-- response (encrypted challenge, client name)
|
|
|
|
hangup if invalid
|
|
|
|
query info -->
|
|
|
|
<-- info (size)
|
|
|
|
|
2002-05-22 17:09:08 +00:00
|
|
|
---
|
|
|
|
win32:
|
|
|
|
need to support window stations
|
|
|
|
login screen on NT is a separate window station
|
|
|
|
handle display changes
|
|
|
|
|
|
|
|
---
|
|
|
|
not handling international characters
|
|
|
|
|
|
|
|
---
|
|
|
|
don't allow leaving screen when any key is down
|
|
|
|
that includes shift keys and mouse buttons
|
|
|
|
caps lock, etc must not be down but can be on
|
2001-10-06 14:13:28 +00:00
|
|
|
|
2002-05-22 17:09:08 +00:00
|
|
|
not distinguishing between caps lock and shift lock
|
|
|
|
In Caps Lock mode, the alphabetic keys send their uppercase (shifted) char-
|
|
|
|
acter when pressed alone. For Caps Lock mode, pressing and releasing the
|
|
|
|
lock key turns on the mode and pressing and releasing the lock key again
|
|
|
|
turns off the mode. In Shift Lock mode, all keys on the main keypad send
|
|
|
|
their shifted character when pressed alone. For Shift Lock mode, pressing
|
|
|
|
and releasing the Lock key turns on the mode, and pressing and releasing
|
|
|
|
either the Lock or the Shift key turns off the mode.
|
2001-10-06 14:13:28 +00:00
|
|
|
|
2002-05-22 17:09:08 +00:00
|
|
|
---
|
|
|
|
problems with CLIPBOARD and KDE and NEdit
|
|
|
|
KDE mail reader (others?) and NEdit never reply to selection request
|
|
|
|
perhaps a general Motif problem?
|
2001-10-06 14:13:28 +00:00
|
|
|
|
2002-05-22 17:09:08 +00:00
|
|
|
currently sending all clipboards to all clients
|
|
|
|
some clients may not need all clipboards
|
|
|
|
add filtering mechanism
|
2001-10-06 14:13:28 +00:00
|
|
|
|
2002-05-22 17:09:08 +00:00
|
|
|
must find app that correctly sets the CLIPBOARD selection for testing
|
|
|
|
synergy must note changes to one or both selections
|
|
|
|
seems to be having trouble with noting CLIPBOARD after PRIMARY changes
|
2001-10-06 14:13:28 +00:00
|
|
|
|
2002-05-22 17:09:08 +00:00
|
|
|
investigate klipper
|
|
|
|
KDE's clipboard manager?
|
|
|
|
it crashed once when server did (see below)
|
2001-10-06 14:13:28 +00:00
|
|
|
|
|
|
|
---
|
2002-05-22 17:09:08 +00:00
|
|
|
got crash when opening netscape window after trying copy in KDE mail
|
|
|
|
BadWindow in ChangeWindowAttributes
|
|
|
|
also got it when trying to transfer big clipboard from secondary
|
|
|
|
or just after transferring and perhaps trying to set locally
|
2001-10-06 14:13:28 +00:00
|
|
|
|
|
|
|
---
|
2002-05-22 17:09:08 +00:00
|
|
|
sometimes not sending correct clipboard
|
|
|
|
some kind of race condition i think
|
|
|
|
can select text then switch and get empty clipboard
|
|
|
|
switching back to owner screen then out gets correct clipboard
|
2001-11-19 00:33:36 +00:00
|
|
|
|
|
|
|
---
|
2002-05-22 17:09:08 +00:00
|
|
|
screen resize should report new mouse position
|
|
|
|
client could change it to keep mouse on screen
|
|
|
|
server will need to know new position
|
|
|
|
may need to ignore mouse events sent after resize but before server
|
|
|
|
knows about the change.
|
|
|
|
not handling screen resizing yet
|
2001-11-19 00:33:36 +00:00
|
|
|
|
|
|
|
---
|
2002-05-22 17:09:08 +00:00
|
|
|
not handling screen saver at all yet
|
2001-11-25 18:32:41 +00:00
|
|
|
|
2002-05-22 17:09:08 +00:00
|
|
|
---
|
|
|
|
slow leaving primary screen on X
|
|
|
|
possibly due to getting primary clipboards
|
|
|
|
possibly something else
|
|
|
|
could try asynchronously getting primary clipboard
|
|
|
|
race condition on secondary wrt pasting
|
2001-11-25 18:32:41 +00:00
|
|
|
|
2002-05-22 17:09:08 +00:00
|
|
|
---
|
|
|
|
win32 hook DLL sometimes not unloaded when server is killed?
|
|
|
|
will get assertion on restart as if DLL was still loaded.
|
|
|
|
can tell because all DLL copies share data segment.
|
|
|
|
should prevent multiple copies from loading (or initializing)
|
|
|
|
replace asserts with (multithread locked) check of variables
|
|
|
|
return 0 if busy
|
|
|
|
server must handle failure
|
|
|
|
try to figure out why it's not unloading
|
2001-11-19 00:33:36 +00:00
|
|
|
|
2002-05-22 17:09:08 +00:00
|
|
|
---
|
|
|
|
test:
|
|
|
|
X primary
|
|
|
|
ctrl+alt+keypad_add, ctrl+alt_keypad_minus -> eaten by primary X server
|
|
|
|
ctrl+alt+backspace probably eaten by primary X server if so configured
|
|
|
|
ctrl+alt+delete probably eaten locally
|
|
|
|
probably underneath primary X server too
|
|
|
|
Win32 desktop -> X laptop
|
|
|
|
eaten global hot keys:
|
|
|
|
ctrl+alt+delete -> task manager (or logon or reboot)
|
|
|
|
alt+[shift+]tab -> cycle through tasks
|
|
|
|
alt+[shift+]esc -> cycle windows
|
|
|
|
ctrl+esc -> start menu
|
|
|
|
windows+R -> run dialog
|
|
|
|
windows+M -> minimize all
|
|
|
|
windows+shift+M -> minimize all
|
|
|
|
windows+F1 -> help
|
|
|
|
windows+E -> explorer
|
|
|
|
windows+F -> find files
|
|
|
|
windows+ctrl+F -> find computer
|
|
|
|
windows+tab -> cycle through taskbar buttons
|
|
|
|
windows+break -> system properties
|
|
|
|
not eaten:
|
|
|
|
alt+space -> system menu
|
|
|
|
shift+F10 -> context menu
|
|
|
|
app key -> context menu
|
|
|
|
misc:
|
|
|
|
accessibility shortcuts: not eaten but dialogs appear anyway
|
|
|
|
X laptop -> Win32 desktop
|
|
|
|
check:
|
|
|
|
shift+tab -> okay
|
|
|
|
alt+[shift+]tab -> okay
|
|
|
|
alt+[shift+]esc -> okay
|
|
|
|
ctrl+esc -> start menu -> okay
|
|
|
|
ctrl+esc, esc, shift+F10 -> toolbar context menu -> okay
|
|
|
|
F10 -> activate menu in explorer -> okay
|
|
|
|
shift+F10 -> context menu -> okay
|
|
|
|
alt+space -> context menu -> okay
|
|
|
|
alt+hyphen -> MDI window menu -> okay
|
|
|
|
alt+letter -> open corresponding menu -> okay
|
|
|
|
alt+F6 -> switch between windows in single program -> okay
|
|
|
|
shift+insert CD-ROM -> bypass auto-run
|
|
|
|
check accessibility shortcuts -> does not work
|
|
|
|
check accessibility features
|
|
|
|
sticky keys -> no
|
|
|
|
filter keys -> no
|
|
|
|
toggle keys -> no
|
|
|
|
mouse keys -> no
|
|
|
|
high contrast -> no
|
|
|
|
X desktop -> win32
|
|
|
|
shift, ctrl, alt not working
|
|
|
|
check:
|
|
|
|
shift+tab
|
|
|
|
windows+R -> run dialog
|
|
|
|
windows+M -> minimize all
|
|
|
|
windows+shift+M -> minimize all
|
|
|
|
windows+F1 -> help
|
|
|
|
windows+E -> explorer
|
|
|
|
windows+F -> find files
|
|
|
|
windows+ctrl+F -> find computer
|
|
|
|
windows+tab -> cycle through taskbar buttons
|
|
|
|
windows+break -> system properties
|
|
|
|
app key -> context menu
|
|
|
|
Win32 -> Win32
|
|
|
|
check accessibility shortcuts work on secondary
|
|
|
|
check accessibility features work on secondary
|
2001-11-19 00:33:36 +00:00
|
|
|
|
2002-04-25 10:44:01 +00:00
|
|
|
---
|
2002-05-22 17:09:08 +00:00
|
|
|
server asserts if two clients with same name try to connect
|
|
|
|
should simply refuse second client
|
|
|
|
also not reaping disconnects very fast
|
|
|
|
investigate slowness
|
2002-04-25 10:44:01 +00:00
|
|
|
|
2002-05-22 17:09:08 +00:00
|
|
|
---
|
|
|
|
replace all structs with classes
|
2002-04-25 10:44:01 +00:00
|
|
|
|
2002-05-22 17:09:08 +00:00
|
|
|
---
|
|
|
|
Accessibility Shortcuts
|
2002-04-26 20:15:59 +00:00
|
|
|
|
2002-05-22 17:09:08 +00:00
|
|
|
Key Result
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tap SHIFT 5 times Toggles StickyKeys on and off.
|
2002-04-26 20:15:59 +00:00
|
|
|
|
2002-05-22 17:09:08 +00:00
|
|
|
Press down and hold the right Toggles FilterKeys on and off.
|
|
|
|
SHIFT key for 8 seconds
|
2002-04-26 20:15:59 +00:00
|
|
|
|
2002-05-22 17:09:08 +00:00
|
|
|
Press down and hold the NUM LOCK Toggles ToggleKeys on and off.
|
|
|
|
key for 5 seconds
|
|
|
|
|
|
|
|
Left ALT+left SHIFT+NUM LOCK Toggles MouseKeys on and off.
|
|
|
|
|
|
|
|
Left ALT+left SHIFT+PRINT SCREEN Toggles High Contrast on and off.
|