Keys accessed via AltGr not working when running SSHVnc on IE.
Erik Forsberg <[email protected]>
| Newsgroups | gmane.comp.java.sshtools.user |
|---|---|
| Message-ID | <[email protected]> |
Hi!
Running a SSHVnc-1.1.3-applet on top of Suns latest JDK for Windows,
in Internet Explorer, connecting to a Linux machine running TightVNC,
characters accessed via the AltGr key can't be written.
I'm using a swedish keyboard, and the AltGr is used to enter such
well-used characters as '@', '\', '~' and a few others, so the bug is
quite irritating.
Connecting via the same version of SSHVnc, running on top of a Mozilla
running on Linux, the problem doesn't occur.
I did some X event catching using xev. This is what happends when I
try to press AltGr+2 (which is what I normally press for an '@'),
running SSHVnc on top of Windows:
KeyPress event, serial 18, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 663136624, (1,175), root:(552,411),
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes: ""
KeyPress event, serial 18, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 663136624, (1,175), root:(552,411),
state 0x4, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes: ""
KeyPress event, serial 18, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 663136624, (1,175), root:(552,411),
state 0xc, keycode 107 (keysym 0xffff, Delete), same_screen YES,
XLookupString gives 1 bytes: "_"
KeyRelease event, serial 20, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 663136698, (1,175), root:(552,411),
state 0xc, keycode 107 (keysym 0xffff, Delete), same_screen YES,
XLookupString gives 1 bytes: "_"
KeyRelease event, serial 20, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 663136699, (1,175), root:(552,411),
state 0xc, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes: ""
KeyRelease event, serial 20, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 663136699, (1,175), root:(552,411),
state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes: ""
Doing the same thing, but now running SSHVnc on top of Mozilla in
Linux:
KeyPress event, serial 20, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 663379073, (5,20), root:(632,464),
state 0x0, keycode 107 (keysym 0xffff, Delete), same_screen YES,
XLookupString gives 1 bytes: "_"
KeyPress event, serial 20, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 663379287, (5,20), root:(632,464),
state 0x0, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES,
XLookupString gives 0 bytes: ""
KeyPress event, serial 20, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 663379287, (5,20), root:(632,464),
state 0x80, keycode 11 (keysym 0x40, at), same_screen YES,
XLookupString gives 1 bytes: "@"
KeyRelease event, serial 20, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 663379287, (5,20), root:(632,464),
state 0x80, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES,
XLookupString gives 0 bytes: ""
KeyPress event, serial 20, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 663379352, (5,20), root:(632,464),
state 0x0, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES,
XLookupString gives 0 bytes: ""
KeyRelease event, serial 20, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 663379352, (5,20), root:(632,464),
state 0x80, keycode 11 (keysym 0x40, at), same_screen YES,
XLookupString gives 1 bytes: "@"
KeyRelease event, serial 20, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 663379352, (5,20), root:(632,464),
state 0x80, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES,
XLookupString gives 0 bytes: ""
KeyRelease event, serial 20, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 663379484, (5,20), root:(632,464),
state 0x0, keycode 107 (keysym 0xffff, Delete), same_screen YES,
XLookupString gives 1 bytes: "_"
Any ideas on this?
\EF
--
Erik Forsberg Telephone: +46-13-21 46 00
Cendio AB Web: http://www.cendio.com
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND