nanogui: Re: Find a bug in Microwindows-0.92


Previous by date: 10 Apr 2010 20:25:27 -0000 Re: libvncserver GPL license issue, Greg Haerr
Next by date: 10 Apr 2010 20:25:27 -0000 problem with fltk Fl::repeat_timeout, Luca Santini
Previous in thread:
Next in thread:

Subject: Re: Find a bug in Microwindows-0.92
From: "Greg Haerr" ####@####.####
Date: 10 Apr 2010 20:25:27 -0000
Message-Id: <01a001cad8eb$efd665c0$6764a8c0@winXP>

Thanks Kave - I have added your fix to the git repository!

Regards,

Greg
  ----- Original Message ----- 
  From: kavedai 
  To: ####@####.#### 
  Cc: ####@####.#### ; ####@####.#### 
  Sent: Thursday, April 08, 2010 12:12 AM
  Subject: Find a bug in Microwindows-0.92


  Dear Greg Haerr:

       I'm an engineer from China. I have ported Microwindows GUI to linux-2.6.28. I utilize "tslib" to filter the kernel input events which come from touch screen, and pass events to Microwindows GUI. I found an issue about Microwiondows:

  In microwin/src/drivers/mou_tslib.c, line 81, the code "if (ret < 0)" causes pass invalid touch screen events to Microwinodws GUI. When there is no new event occurs, ret==0, but PD_Read() will get invalid event from local variable "struct ts_sample samp". In arm-linux-gcc 3.4.4, this local variable default value is equal to last time it evaluated. So the MW GUI can work correctly (But first time touch can not respond correctly). In arm-linux-gcc 4.4.0, this local variable default value is invalid, the Microwindows can not work well. When I modify "if (ret < 0)" to "if (ret <= 0)", it is ok.

  I hope this message may provide help for Nano-X project.

   

  B.R.

  Kave Dai

   

Previous by date: 10 Apr 2010 20:25:27 -0000 Re: libvncserver GPL license issue, Greg Haerr
Next by date: 10 Apr 2010 20:25:27 -0000 problem with fltk Fl::repeat_timeout, Luca Santini
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.