update: problems running multiple viewers from win32
MacReiter "at" bigfoot.com
Wed, 17 Jun 1998 21:38:11 +0000
>What I'm doing to cause these problems:
>- start up vnc viewer, connect to solaris 2.5 machine
>- select "new connection" from the viewer and connect to redhat5.0 machine
>- start a 3rd party application (Tested with both eudora light and mIRC)
>- from the solaris viewer, alt-tab directly to the 3rd party application
>- from the 3rd party application, alt-tab directly to the linux viewer
>*** The linux viewer xterm is now locked, not allowing any keyboard input
>- from the linux viewer, alt-tab directly to the solaris viewer
>*** The solaris viewer xterm now displays corrupted text when you type
>interestingly enough, both the linux and solaris viewers can be returned to
>normal properly functioning state by doing several alt-tabs back and forth
>directly between the two viewers, skipping the 3rd party application.
I haven't looked at the VNCviewer code, but going by some of the other
comments that have floated by, and the fact you are Alt-Tabbing around, I
can make an educated guess...
You Press Alt (in preparation for Alt-Tab)
VNCviewer-Solaris sends Alt-KeyDown signal to Solaris
You press Tab (to complete Alt-Tab)
Windows switches to some other task.
You release Tab
Currently active window gets Tab-KeyUp
You release Alt
Currently active window gets Alt-KeyUp
OK, Now Solaris is convinced that you are continuing to hold down the Alt
key. One way to test this is to be running some program that does
something with Alt key combinations (Netscape 4 uses Alt-F for "Find", for
example) and try typing just the other key when the system seems to be
locked up (press F while Netscape is active, for example). If you see the
Alt-<key you pressed> response, then this is your problem. I also think
this is likely because you say that repeated Alt-Tabs will clear the
problem. Well, whichever window is active after the task switch gets an
Alt-KeyUp, as shown above. If that is VNCviewer-Solaris, then Solaris will
see you release the Alt key, and all will be well.
If this is your problem, you can clear any "locked" session by pressing and
releasing the Alt key while that VNCviewer is active.