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.

On Tue, 2007-07-17 at 12:58 +0100, James Weatherall wrote:
> Halton,
> 
> VNC Viewer will start out in low-colour mode and switch to full-colour if
> Auto-select is enabled & the link appears to be fast enough.  It looks like
> the two viewers just have slightly different ideas about the speed of your
> network.
> 
> Cheers,
> 
> Wez @ RealVNC Ltd.
>  
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] On Behalf Of Halton Huo
> > Sent: 16 July 2007 04:03
> > To: [email protected]
> > Subject: vncviewer.jar regression from 4.04b to 4.1
> > 
> > Hi there,
> > 
> > As title, check out the two screen shots which are connecting 
> > with same
> > VNC server. 
> > 
> > 4.04b:
> > http://www.genunix.org/wiki/index.php/Image:Vncviewer.jar-4.04b.png
> > 
> > 4.1:
> > http://www.genunix.org/wiki/index.php/Image:Vncviewer.jar-4.1.png
> > 
> > Seems 4.1 use lower pixel to display, a regression?
> > 
> > Thanks,
> > Halton.
> > _______________________________________________
> > VNC-List mailing list
> > [email protected]
> > To remove yourself from the list visit:
> > http://www.realvnc.com/mailman/listinfo/vnc-list
> _______________________________________________
> VNC-List mailing list
> [email protected]
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
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