Hi Halton,

Hmmmm... VNC Viewer Free Edition for Java doesn't support full-colour at
all, which is why those lines are commented out!  Are you sure that you're
using the standard binaries, and that your 4.04b isn't something custom with
a full-colour-patch applied?

VNC Viewer Enterprise Edition for Java supports full-colour operation on
modern Java run-time environments.

Cheers,

Wez @ RealVNC Ltd
 

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: 18 July 2007 08:44
> To: James Weatherall
> Cc: [email protected]
> Subject: RE: vncviewer.jar regression from 4.04b to 4.1
> 
> Wez,
> 
> I debugged the program, even autoSelect is on, and kbitsPerSecond >
> 3000, still use low color.
> 
> Check the code in Conn.java, found some fullColour code are commented
> out.
> 
> (1) In function autoSelectFormatAndEncoding 
> //      if (kbitsPerSecond > 1000) {
> //        if (!fullColour) {
> //          vlog.info("Throughput "+kbitsPerSecond+
> //                    " kbit/s - changing to full colour");
> //          fullColour = true;
> //          formatChange = true;
> //        }
> //      }
> 
> (2) In function getOptions
> //      if (fullColour != options.fullColour.getState())
> //        formatChange = true;
> 
> (3) In function requestNewUpdate
>       if (fullColour) {
>         //desktop.setPF(fullColourPF);
>       } else {
>         //desktop.setPF(rfb.PixelFormat(8,6,0,1,3,3,3,4,2,0));
>       }
> 
> For (1) and (2), I can clear the comments, and build pass. 
> For (3), can
> not clear, for desktop does not have setPF interface.
> 
> Is that right place which to fix the problem? Any thoughts here?
> 
> Cheers,
> Halton.
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to