I just uploaded a fresh build that might fix this.  Please try it:

http://www.turbovnc.org/DeveloperInfo/PreReleases

The Java viewer had some old crufty code left over from the antiquated 
TurboVNC 1.x Java viewer, code which that viewer had apparently 
inherited from either the RealVNC or TightVNC Java viewers.  Back in the 
days when Java VNC viewers had to support Java 1.1, we had to work 
around a bug in that release of Java whereby it would fail to set the 
MouseEvent.BUTTON1_MASK bits in the modifier mask whenever the left 
button was pressed.  To work around that issue, we sent a left button 
press event to the VNC server whenever the modifier mask was 0.  Well, 
flash forward 15 years, and the original bug in Java has long since been 
fixed (since Java 1.1.1), but now Java generates a button press event 
with a 0 modifier mask whenever any of the extra buttons (X buttons) are 
pressed on an advanced-function mouse.  With my 7-button Logitech, at 
least, the effect this had was to cause xterm to begin selecting 
whenever one of the X buttons was pressed, but it would never end the 
selection until you pressed and released Button 1.  So I could imagine a 
scenario whereby this bug could cause the issues you were seeing.


On 6/19/15 12:04 PM, Craig Ruff wrote:
>
> On Fri, Jun 19, 2015 at 10:31 AM, DRC <[email protected]
> <mailto:[email protected]>> wrote:
>
>     Can't repro.  Are you using RHEL 7 as a client?  Which specific version
>     of TurboVNC is running on the server?  I even tried downgrading the
>     server to 1.2, and everything still works fine for me.
>
>
> TurboVNC Server (Xvnc) 64-bit v1.2 (build 20130909)
>
> ​Vncviewer is running on openSUSE 13.2.
>
> ​Couldn't get it to reproduce when running the Java vncviewer on OS X
> and Oracle JRE 8u45.​
>
> The issue may be the Apple Mighty Mouse (A1152) that I am using.  There
> may be additional button 4, 5, 6 and 7 events after the button 2 down
> event causing the Java vncviewer issues that doesn't happen with the
> 1.2.3 native viewer.

------------------------------------------------------------------------------
_______________________________________________
TurboVNC-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/turbovnc-users

Reply via email to